games/warmux: Added a fix for SDLnet, changed homepage.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
parent
611eab7bbf
commit
4d25a9b8cd
|
@ -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:
|
||||
|
|
|
@ -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" \
|
||||
|
|
|
@ -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=""
|
||||
|
|
Loading…
Reference in New Issue