summaryrefslogtreecommitdiff
path: root/system/pacemaker
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2012-09-21 15:43:42 +0200
committerRobby Workman <rworkman@slackbuilds.org>2012-09-22 11:39:48 -0500
commit50d924afa00b6d79d294bf1adc2b18e077afd84b (patch)
treeec62cc7a2ec5c58ed0be9a5f43a8dd3997304bdd /system/pacemaker
parentb76c18889b3f45b2fdae30f91c5c9ab4444dacfb (diff)
downloadslackbuilds-50d924afa00b6d79d294bf1adc2b18e077afd84b.tar.gz
system/pacemaker: Added a fix for glib>=2.31.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'system/pacemaker')
-rw-r--r--system/pacemaker/pacemaker.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/system/pacemaker/pacemaker.SlackBuild b/system/pacemaker/pacemaker.SlackBuild
index bbff7ad5e6..2dae52ccf9 100644
--- a/system/pacemaker/pacemaker.SlackBuild
+++ b/system/pacemaker/pacemaker.SlackBuild
@@ -11,7 +11,7 @@
PRGNAM=pacemaker
VERSION=${VERSION:-b9b672590e79}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
@@ -59,9 +59,12 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Fix for glib>=2.31
+sed -i "s|/ghash||" lib/ais/plugin.c
+
./autogen.sh
-CFLAGS="$SLKCFLAGS" \
+CFLAGS="$SLKCFLAGS -Wno-error=unused-but-set-variable -Wno-error=deprecated-declarations" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \