mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-01 18:32:58 +02:00
libappindicator: fix build w/ glib >= 2.58
This commit is contained in:
parent
4b2b3e2ac5
commit
90f38bd7ce
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue