From cee66b4f7d08625ccb2be711f8ee1ee5b94b79a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Sun, 19 Jan 2020 17:50:23 +0100 Subject: [PATCH] libdbusmenu-glib: fix build w/ glib >= 2.58 --- srcpkgs/libdbusmenu-glib/template | 3 +++ 1 file changed, 3 insertions(+) diff --git a/srcpkgs/libdbusmenu-glib/template b/srcpkgs/libdbusmenu-glib/template index ade86c9f026..3e9a2b024b0 100644 --- a/srcpkgs/libdbusmenu-glib/template +++ b/srcpkgs/libdbusmenu-glib/template @@ -20,6 +20,9 @@ checksum=b9cc4a2acd74509435892823607d966d424bd9ad5d0b00938f27240a1bfa878a build_options="gir" build_options_default="gir" +# Avoid errors for macros deprecated since glib-2.58 */ +CFLAGS="-DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_56 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_56" + pre_configure() { autoreconf -fi }