mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
system/pacemaker: Added a fix for glib>=2.31.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
parent
b76c18889b
commit
50d924afa0
1 changed files with 5 additions and 2 deletions
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue