diff options
-rw-r--r-- | system/pacemaker/pacemaker.SlackBuild | 7 |
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 \ |