From d1d621054744bb25331a98a892a6fccd4a1409c5 Mon Sep 17 00:00:00 2001 From: "Eduardo Lima (Etrunko)" Date: Wed, 23 May 2018 15:21:22 -0300 Subject: [PATCH] Bump glib requirements to 2.38 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit test-logging makes use of functions only available from this version ../tests/test-logging.c: In function ‘test_spice_abort_level’: ../tests/test-logging.c:50:5: error: ‘g_test_subprocess’ is deprecated: Not available before 2.38 [-Werror=deprecated-declarations] if (g_test_subprocess()) { ^~ In file included from /usr/include/glib-2.0/glib.h:82:0, from ../tests/test-logging.c:23: /usr/include/glib-2.0/glib/gtestutils.h:151:10: note: declared here gboolean g_test_subprocess (void); ^~~~~~~~~~~~~~~~~ Signed-off-by: Eduardo Lima (Etrunko) Acked-by: Frediano Ziglio --- m4/spice-deps.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/m4/spice-deps.m4 b/m4/spice-deps.m4 index a6f4b7b..e3ec8be 100644 --- a/m4/spice-deps.m4 +++ b/m4/spice-deps.m4 @@ -158,7 +158,7 @@ AC_DEFUN([SPICE_CHECK_PIXMAN], [ # use in the GLIB2_CFLAGS and GLIB2_LIBS variables. #------------------ AC_DEFUN([SPICE_CHECK_GLIB2], [ - PKG_CHECK_MODULES(GLIB2, glib-2.0 >= 2.22 gio-2.0 >= 2.22 gthread-2.0 >= 2.22) + PKG_CHECK_MODULES(GLIB2, glib-2.0 >= 2.38 gio-2.0 >= 2.38 gthread-2.0 >= 2.38) ]) # SPICE_CHECK_PYTHON_MODULES()