diff options
author | B. Watson <yalhcru@gmail.com> | 2012-09-21 06:41:11 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2012-09-22 11:39:46 -0500 |
commit | 4bd9ab40eaf44d5cc160d98d9b74c57dcaf358df (patch) | |
tree | d881b5a10c492e3c7eaec7b8f9f669c2d9a4e981 /games/odamex/odamex.SlackBuild | |
parent | 8a92061525b5e777372fb88b8cb0ae2636759de4 (diff) |
games/odamex: Fix for gcc-4.7.x.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'games/odamex/odamex.SlackBuild')
-rw-r--r-- | games/odamex/odamex.SlackBuild | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/games/odamex/odamex.SlackBuild b/games/odamex/odamex.SlackBuild index 9cdd6a5514122..49c0d420f3075 100644 --- a/games/odamex/odamex.SlackBuild +++ b/games/odamex/odamex.SlackBuild @@ -6,7 +6,7 @@ PRGNAM=odamex VERSION=${VERSION:-0.5.6} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -53,6 +53,8 @@ find . \ sed -i "s/-g -Wall -O2/$SLKCFLAGS/" Makefile +patch -p1 < $CWD/gcc47.diff + # N.B. we want the game to look in /usr/share/games/doom for wad files, # to match the already-existing zdoom and prboom slackbuilds. Makefile # adds the /doom part to RESDIR itself. The patch adds this dir to the |