libindicator: fix build w/ glib >= 2.58
This commit is contained in:
parent
cee66b4f7d
commit
932a3afef4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue