aboutsummaryrefslogtreecommitdiff
path: root/games/warmux/warmux.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/warmux/warmux.SlackBuild')
-rw-r--r--games/warmux/warmux.SlackBuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/games/warmux/warmux.SlackBuild b/games/warmux/warmux.SlackBuild
index 1d711e8373292..a360b817cab8d 100644
--- a/games/warmux/warmux.SlackBuild
+++ b/games/warmux/warmux.SlackBuild
@@ -73,7 +73,9 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# Fix building with gcc-4.7.x
-patch -p1 < $CWD/gcc47.patch
+patch -p1 < $CWD/patches/gcc47.patch
+# Explicitly include zlib headers
+patch -p1 < $CWD/patches/include-zlib.patch
# Fix for sdlnet
sed -i "s|SDLNet_Read32(buffer)|SDLNet_Read32(const_cast<char*>(buffer))|" \
lib/warmux/action/action.cpp