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 }