games/angband: Fixed to build against gcc-4.7

Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
This commit is contained in:
Niels Horn 2012-09-16 22:44:05 -03:00 committed by Robby Workman
parent 2f47ddb87f
commit 90005ad2bf
1 changed files with 2 additions and 1 deletions

View File

@ -7,7 +7,7 @@
PRGNAM=angband
VERSION=v3.3.2
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@ -50,6 +50,7 @@ chmod -R u+w,go+r-w,a-s .
# --enable-gtk and setgid are incompatible, so we'll not build the gtk part
CFLAGS="$SLKCFLAGS" \
LDFLAGS="-lSDL" \
./configure \
--prefix=/usr \
--with-libpath=/usr/share/games/angband \