From 932a3afef43096bd847d50623d8ff112279a02b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Sun, 19 Jan 2020 18:02:16 +0100 Subject: [PATCH] libindicator: fix build w/ glib >= 2.58 --- srcpkgs/libindicator/template | 3 +++ 1 file changed, 3 insertions(+) diff --git a/srcpkgs/libindicator/template b/srcpkgs/libindicator/template index 52a19c6dc7b..1ad0e5f9c6e 100644 --- a/srcpkgs/libindicator/template +++ b/srcpkgs/libindicator/template @@ -14,6 +14,9 @@ distfiles="https://launchpad.net/libindicator/${version%.*}/${version}/+download checksum=b2d2e44c10313d5c9cd60db455d520f80b36dc39562df079a3f29495e8f9447f CFLAGS="-Wno-deprecated-declarations" +# 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" + post_configure() { # Due to laziness, let's just fix the problem here without