summaryrefslogtreecommitdiff
path: root/games/monkey-bubble/monkey-bubble.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/monkey-bubble/monkey-bubble.SlackBuild')
-rw-r--r--games/monkey-bubble/monkey-bubble.SlackBuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/games/monkey-bubble/monkey-bubble.SlackBuild b/games/monkey-bubble/monkey-bubble.SlackBuild
index 9d6930a96c..a53892892b 100644
--- a/games/monkey-bubble/monkey-bubble.SlackBuild
+++ b/games/monkey-bubble/monkey-bubble.SlackBuild
@@ -53,6 +53,9 @@ find . \
patch -p1 < $CWD/monkey-bubble-0.4.0-gnome-doc.patch
+# Patch to fix glib include errors
+patch -p1 < $CWD/monkey-bubble_glib.patch
+
# This is if you want to enable scrollkeeper.
if [ "${HAVE_RARIAN:-no}" != "yes" ]; then
USE_RARIAN="disable-scrollkeeper"
@@ -60,8 +63,9 @@ else
USE_RARIAN="enable-scrollkeeper"
fi
-CFLAGS="$SLKCFLAGS" \
+CFLAGS="$SLKCFLAGS -Wno-error=unused-but-set-variable -Wno-error=deprecated-declarations" \
CXXFLAGS="$SLKCFLAGS" \
+LIBS="-lm" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \