From c7ba4606870200e049ff1537f6a1a2882d1099a9 Mon Sep 17 00:00:00 2001 From: vaxerski Date: Mon, 1 Jan 2024 18:19:22 +0100 Subject: [PATCH] wlroots: update version patches --- CMakeLists.txt | 2 +- subprojects/packagefiles/wlroots-meson-build.patch | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index bedb7bbf..0dbcea09 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -57,7 +57,7 @@ ExternalProject_Add( wlroots PREFIX ${CMAKE_SOURCE_DIR}/subprojects/wlroots SOURCE_DIR ${CMAKE_SOURCE_DIR}/subprojects/wlroots - PATCH_COMMAND sed -E -i -e "s/(soversion = 13)([^032]|$$)/soversion = 13032/g" meson.build + PATCH_COMMAND sed -E -i -e "s/(soversion = version_minor.to_int() - 5)([^032]|$$)/soversion = 13032/g" meson.build CONFIGURE_COMMAND meson setup build --buildtype=${BUILDTYPE_LOWER} -Dwerror=false -Dexamples=false -Drenderers=gles2 $,-Db_sanitize=address,-Db_sanitize=none> && meson setup build --buildtype=${BUILDTYPE_LOWER} -Dwerror=false -Dexamples=false -Drenderers=gles2 $,-Db_sanitize=address,-Db_sanitize=none> --reconfigure BUILD_COMMAND ninja -C build BUILD_ALWAYS true diff --git a/subprojects/packagefiles/wlroots-meson-build.patch b/subprojects/packagefiles/wlroots-meson-build.patch index fd6f84db..4e911980 100644 --- a/subprojects/packagefiles/wlroots-meson-build.patch +++ b/subprojects/packagefiles/wlroots-meson-build.patch @@ -38,7 +38,7 @@ index 29b103a..0b6e5a4 100644 # necessary for bugfix releases. Increasing soversion is required because # wlroots never guarantees ABI stability -- only API stability is guaranteed # between minor releases. --soversion = 13 +-soversion = version_minor.to_int() - 5 +soversion = 13032 little_endian = target_machine.endian() == 'little'