From 7fa907f302724a95227b00943917740f8c1b0229 Mon Sep 17 00:00:00 2001 From: Nick Bowler Date: Mon, 4 Apr 2022 21:09:07 -0400 Subject: [PATCH] Disable deprecation warnings from Glib. Even if I wanted to make the suggested code changes to avoid these pointless warnings, in this case the problem is not in tihs package, but it comes from an external #include dependency via libgerbv. Thankfully we can simply define a macro to shut it all up. --- configure.ac | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 6100d26..165e1a4 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -dnl Copyright © 2018-2019, 2021 Nick Bowler +dnl Copyright © 2018-2019, 2021-2022 Nick Bowler dnl dnl License WTFPL2: Do What The Fuck You Want To Public License, version 2. dnl This is free software: you are free to do what the fuck you want to. @@ -31,6 +31,8 @@ DX_LINGUAS DX_LIB_CNEARTREE DX_LIB_LIBGERBV +AC_DEFINE([GLIB_DISABLE_DEPRECATION_WARNINGS], [1], + [Define to shut up glib deprecation silliness.]) AS_IF([test x"$dx_cv_libgerbv_lib_found" = x"yes"], [AC_CACHE_CHECK([if libgerbv supports G85 slots], [dx_cv_gerbv_supports_g85], -- 2.43.2