aboutsummaryrefslogtreecommitdiff
path: root/libraries/libbonobo/libbonobo.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2013-05-29 19:27:37 +0200
committerRobby Workman <rworkman@slackbuilds.org>2013-11-07 11:28:15 -0600
commit720f0270990a094a5907fc91292f07c5efdce251 (patch)
treed975fd23b6e26c41d8b4d9292f588168576c6298 /libraries/libbonobo/libbonobo.SlackBuild
parentdeb7c4bbec3ef07dfc5230b52609e907bdbcb47d (diff)
libraries/libbonobo: Fix for the newer glib.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'libraries/libbonobo/libbonobo.SlackBuild')
-rw-r--r--libraries/libbonobo/libbonobo.SlackBuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/libraries/libbonobo/libbonobo.SlackBuild b/libraries/libbonobo/libbonobo.SlackBuild
index 26bca8baea69d..d8df72f0e3640 100644
--- a/libraries/libbonobo/libbonobo.SlackBuild
+++ b/libraries/libbonobo/libbonobo.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=libbonobo
VERSION=${VERSION:-2.32.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -69,6 +69,11 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Apply patch from upstream to build with the newer glib
+patch -p1 < $CWD/remove_use_of_G_DISABLE_DEPRECATED.patch
+
+autoreconf -fi
+
CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \