system/pacemaker: Added a fix for glib>=2.31.

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
Matteo Bernardini 2012-09-21 15:43:42 +02:00 committed by Robby Workman
parent b76c18889b
commit 50d924afa0

View file

@ -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 \