mcst-linux-kernel/patches-2024.06.26/libvirt-9.0.0/0001-Silence-deprecated-war...

16 lines
682 B
Diff

--- a/meson.build 2023-01-16 13:57:28.000000000 +0300
+++ b/meson.build 2024-02-22 13:34:41.943205599 +0300
@@ -934,7 +934,11 @@
conf.set('GLIB_VERSION_MIN_REQUIRED', glib_version_str)
# Ask for warnings if code tries to use function that did not
# exist in the defined version. These risk breaking builds
-conf.set('GLIB_VERSION_MAX_ALLOWED', glib_version_str)
+if host_machine.cpu_family() == 'e2k'
+ conf.set('GLIB_VERSION_MAX_ALLOWED', 'GLIB_VERSION_2_72')
+else
+ conf.set('GLIB_VERSION_MAX_ALLOWED', glib_version_str)
+endif
glusterfs_version = '3.4.1'
glusterfs_dep = dependency('glusterfs-api', version: '>=' + glusterfs_version, required: get_option('glusterfs'))