libindicator: fix build w/ glib >= 2.58
This commit is contained in:
@@ -14,6 +14,9 @@ distfiles="https://launchpad.net/libindicator/${version%.*}/${version}/+download
|
|||||||
checksum=b2d2e44c10313d5c9cd60db455d520f80b36dc39562df079a3f29495e8f9447f
|
checksum=b2d2e44c10313d5c9cd60db455d520f80b36dc39562df079a3f29495e8f9447f
|
||||||
|
|
||||||
CFLAGS="-Wno-deprecated-declarations"
|
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() {
|
post_configure() {
|
||||||
# Due to laziness, let's just fix the problem here without
|
# Due to laziness, let's just fix the problem here without
|
||||||
|
|||||||
Reference in New Issue
Block a user