From 8227224c848bfd1969faeea28c8b9c4bd34a4fc4 Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Thu, 19 Sep 2019 16:53:58 +0200 Subject: [PATCH] Ignore glib deprecations past 2.60 We generally want to avoid using deprecated stuff as much as we can, while still depending on an old glib version. However, the GTimeVal deprecation in 2.62 just is impossible to work around without bumping the requirements, so ignore newer deprecations. Closes: #3119 Approved by: alexlarsson --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure.ac b/configure.ac index 992ddcf2..1c9166f9 100644 --- a/configure.ac +++ b/configure.ac @@ -34,6 +34,8 @@ SYSTEM_BWRAP_REQS=0.2.1 SYSTEM_DBUS_PROXY_REQS=0.1.0 OSTREE_REQS=2018.9 +AC_DEFINE(GLIB_VERSION_MIN_REQUIRED, GLIB_VERSION_2_60, [Ignore massive GTimeVal deprecation warnings in 2.62]) + AC_USE_SYSTEM_EXTENSIONS AC_SYS_LARGEFILE