libappindicator: fix build w/ glib >= 2.58
This commit is contained in:
parent
4b2b3e2ac5
commit
90f38bd7ce
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user