aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
Diffstat (limited to 'games')
-rw-r--r--games/warmux/slack-desc2
-rw-r--r--games/warmux/warmux.SlackBuild5
-rw-r--r--games/warmux/warmux.info2
3 files changed, 6 insertions, 3 deletions
diff --git a/games/warmux/slack-desc b/games/warmux/slack-desc
index 725d82dcbc919..19b3c63c1eeff 100644
--- a/games/warmux/slack-desc
+++ b/games/warmux/slack-desc
@@ -13,7 +13,7 @@ warmux: arena. Using dynamite, grenades, baseball bat and others bazookas,...
warmux: exterminate your opponent in a 2D toon style scenery and a funny
warmux: environment.
warmux:
-warmux: Homepage: http://www.wormux.org
+warmux: Homepage: http://sourceforge.net/projects/warmux.mirror/
warmux:
warmux:
warmux:
diff --git a/games/warmux/warmux.SlackBuild b/games/warmux/warmux.SlackBuild
index ec9ca06c59537..f6614581d0ab7 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" \
diff --git a/games/warmux/warmux.info b/games/warmux/warmux.info
index 4f8574fb20279..b4c800f5420f3 100644
--- a/games/warmux/warmux.info
+++ b/games/warmux/warmux.info
@@ -1,6 +1,6 @@
PRGNAM="warmux"
VERSION="11.04.1"
-HOMEPAGE="http://www.wormux.org/phpboost/news/news.php"
+HOMEPAGE="http://sourceforge.net/projects/warmux.mirror/"
DOWNLOAD="http://download.gna.org/warmux/warmux-11.04.1.tar.bz2"
MD5SUM="26ff65c43a9bb61a3f0529c98b943e35"
DOWNLOAD_x86_64=""