From 40f293a7631e3f8fd1f1ac146fe6d6e7de258d33 Mon Sep 17 00:00:00 2001 From: Matteo Bernardini Date: Wed, 29 May 2013 19:31:03 +0200 Subject: libraries/libgnome: Fix for the newer glib. Signed-off-by: Matteo Bernardini --- libraries/libgnome/libgnome.SlackBuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'libraries') diff --git a/libraries/libgnome/libgnome.SlackBuild b/libraries/libgnome/libgnome.SlackBuild index e9857eb7be2de..5fbd7ce8aa09a 100644 --- a/libraries/libgnome/libgnome.SlackBuild +++ b/libraries/libgnome/libgnome.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=libgnome VERSION=${VERSION:-2.32.1} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -69,6 +69,9 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +# Fix for the newer glib +sed -i "/-DG_DISABLE_DEPRECATED/d" libgnome/Makefile.* + CFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ -- cgit v1.2.3