[NetworkManager-vpnc/lr/gtk-4.0: 7/17] build: bump glib version to 2.34




commit f2c802e765078d387d21e3bd82ba0f720facccd4
Author: Lubomir Rintel <lkundrak v3 sk>
Date:   Wed Nov 3 13:46:26 2021 +0100

    build: bump glib version to 2.34
    
    We already depended on it and nobody seems to have complained:
    
      src/nm-vpnc-service-vpnc-helper.c: In function ‘main’:
      src/nm-vpnc-service-vpnc-helper.c:340:20: warning: Not available before 2.34
        340 |         g_clear_pointer (&str, g_free);
            |                    ^~~~~~~~~~~~~~~~~~~~

 configure.ac | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index dcadbcc..025cd73 100644
--- a/configure.ac
+++ b/configure.ac
@@ -95,8 +95,9 @@ AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [Gettext package])
 IT_PROG_INTLTOOL([0.35])
 AM_GLIB_GNU_GETTEXT
 
-PKG_CHECK_MODULES(GLIB, glib-2.0 >= 2.32)
-GLIB_CFLAGS="$GLIB_CFLAGS -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_32"
+PKG_CHECK_MODULES(GLIB, glib-2.0 >= 2.34)
+GLIB_CFLAGS="$GLIB_CFLAGS -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_34"
+GLIB_CFLAGS="$GLIB_CFLAGS -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_34"
 
 if test x"$with_gnome" != xno; then
        PKG_CHECK_MODULES(GTK, gtk+-3.0 >= 3.4)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]