summaryrefslogtreecommitdiff
path: root/games/monkey-bubble/monkey-bubble.SlackBuild
diff options
context:
space:
mode:
authorNiels Horn <niels.horn@gmail.com>2012-09-16 13:47:05 -0300
committerdsomero <xgizzmo@slackbuilds.org>2012-09-16 19:44:12 -0400
commitd2d03507121185d390ab98bac5dc29402e1361d4 (patch)
tree3b1aa1ab1a573be4bae56bbc7b824971e9e31d12 /games/monkey-bubble/monkey-bubble.SlackBuild
parentf5d962b1ae6dfc11d3fea7322c289082482176fa (diff)
downloadslackbuilds-d2d03507121185d390ab98bac5dc29402e1361d4.tar.gz
games/monkey-bubble: Fixed to build against gcc-4.7
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
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} \