aboutsummaryrefslogtreecommitdiff
path: root/games/warmux/warmux.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2013-03-14 10:04:01 +0100
committerRobby Workman <rworkman@slackbuilds.org>2013-11-06 00:53:14 -0600
commit4d25a9b8cdc276fe574d8a4e92033e57acc3752c (patch)
treec69b5d79c758235c9da7a9ee055124796e6abb81 /games/warmux/warmux.SlackBuild
parent611eab7bbf434cec6d98ca506ccad280b765952e (diff)
games/warmux: Added a fix for SDLnet, changed homepage.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'games/warmux/warmux.SlackBuild')
-rw-r--r--games/warmux/warmux.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/games/warmux/warmux.SlackBuild b/games/warmux/warmux.SlackBuild
index ec9ca06c5953..f6614581d0ab 100644
--- a/games/warmux/warmux.SlackBuild
+++ b/games/warmux/warmux.SlackBuild
@@ -27,7 +27,7 @@
PRGNAM=warmux
VERSION=11.04.1
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -70,6 +70,9 @@ chmod -R a-s,u+w,go+r-w .
# Fix building with gcc-4.7.x
patch -p1 < $CWD/gcc47.patch
+# Fix for sdlnet
+sed -i "s|SDLNet_Read32(buffer)|SDLNet_Read32(const_cast<char*>(buffer))|" \
+ lib/warmux/action/action.cpp
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \