diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2013-03-14 10:04:01 +0100 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2013-11-06 00:53:14 -0600 |
commit | 4d25a9b8cdc276fe574d8a4e92033e57acc3752c (patch) | |
tree | c69b5d79c758235c9da7a9ee055124796e6abb81 /games/warmux | |
parent | 611eab7bbf434cec6d98ca506ccad280b765952e (diff) |
games/warmux: Added a fix for SDLnet, changed homepage.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'games/warmux')
-rw-r--r-- | games/warmux/slack-desc | 2 | ||||
-rw-r--r-- | games/warmux/warmux.SlackBuild | 5 | ||||
-rw-r--r-- | games/warmux/warmux.info | 2 |
3 files changed, 6 insertions, 3 deletions
diff --git a/games/warmux/slack-desc b/games/warmux/slack-desc index 725d82dcbc91..19b3c63c1eef 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 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" \ diff --git a/games/warmux/warmux.info b/games/warmux/warmux.info index 4f8574fb2027..b4c800f5420f 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="" |