summaryrefslogtreecommitdiff
path: root/games/chocolate-doom/chocolate-doom.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2012-09-21 06:38:45 +0200
committerRobby Workman <rworkman@slackbuilds.org>2012-09-22 11:39:46 -0500
commit8a92061525b5e777372fb88b8cb0ae2636759de4 (patch)
tree15e8403780c9f5daa2eb1fae3d6ace3f7e91040c /games/chocolate-doom/chocolate-doom.SlackBuild
parent994e72589bfe86fda005430e9373494495f4c82a (diff)
downloadslackbuilds-8a92061525b5e777372fb88b8cb0ae2636759de4.tar.gz
games/chocolate-doom: Updated for version 1.7.0.
Build fix for the new binutils Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'games/chocolate-doom/chocolate-doom.SlackBuild')
-rw-r--r--games/chocolate-doom/chocolate-doom.SlackBuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/games/chocolate-doom/chocolate-doom.SlackBuild b/games/chocolate-doom/chocolate-doom.SlackBuild
index 682e350e16..3d2aad4792 100644
--- a/games/chocolate-doom/chocolate-doom.SlackBuild
+++ b/games/chocolate-doom/chocolate-doom.SlackBuild
@@ -5,7 +5,7 @@
# Written by B. Watson (yalhcru@gmail.com)
PRGNAM=chocolate-doom
-VERSION=${VERSION:-1.6.0}
+VERSION=${VERSION:-1.7.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -51,6 +51,11 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Grr. Newer binutils includes a windres command, which doesn't seem to work
+# like the actual windows one (configure lacks switches to disable windres)
+patch -p1 < $CWD/disable_windres.diff
+autoreconf -if
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \