diff --git a/srcpkgs/libindicator/template b/srcpkgs/libindicator/template index 52a19c6dc7..1ad0e5f9c6 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