diff --git a/srcpkgs/libappindicator/template b/srcpkgs/libappindicator/template index aea3a8752fd..11fc6f6d152 100644 --- a/srcpkgs/libappindicator/template +++ b/srcpkgs/libappindicator/template @@ -21,6 +21,10 @@ checksum=d5907c1f98084acf28fd19593cb70672caa0ca1cf82d747ba6f4830d4cc3b49f # idea of app indicators in taskbars. CFLAGS="-Wno-deprecated-declarations -Wno-error=incompatible-pointer-types" +# 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() { if [ "$CROSS_BUILD" ]; then sed -i 's:^py_prefix=`:py_prefix='"$XBPS_CROSS_BASE"'`:' configure