meson.build: Keep the protocol version looking like xserver 1.20.x did
This effectively changes the versioning to be as if xserver 21.0 was xserver 1.21.0. This should keep any client-side version checks that know about the Xorg 7.0 -> xserver 1.0 epoch from getting confused.
This commit is contained in:
parent
3e4e70db10
commit
5d3679104a
|
@ -8,7 +8,8 @@ else
|
|||
subpatch = 0
|
||||
endif
|
||||
|
||||
release = major * 10000000 + minor * 100000 + patch * 1000 + subpatch
|
||||
# convert to the old-style 1.x.y version scheme used up to 1.20.x for backwards compatibility
|
||||
release = 1 * 10000000 + major * 100000 + minor * 1000 + patch
|
||||
|
||||
dri_dep = dependency('dri', required: build_glx)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user