From 0c182f49bf17a4db4161829ca0ac56395b1a151d Mon Sep 17 00:00:00 2001 From: Matteo Bernardini Date: Sun, 23 Sep 2012 19:41:09 +0200 Subject: libraries/SFML: Added a patch for gcc-4.7.x. Signed-off-by: Matteo Bernardini --- libraries/SFML/SFML.SlackBuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'libraries/SFML/SFML.SlackBuild') diff --git a/libraries/SFML/SFML.SlackBuild b/libraries/SFML/SFML.SlackBuild index 29db2f7fd4..91f9719fa9 100644 --- a/libraries/SFML/SFML.SlackBuild +++ b/libraries/SFML/SFML.SlackBuild @@ -6,7 +6,7 @@ PRGNAM=SFML VERSION=${VERSION:-1.6} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -61,6 +61,9 @@ sed -i "s/CFLAGS\ .*=/CFLAGS +=/" src/SFML/Makefile # Patch Makefile to put libs in correct place sed -i "s|(DESTDIR)/lib|(DESTDIR)/lib$LIBDIRSUFFIX|" src/SFML/Makefile +# Add a big patch for gcc-4.7.x +patch -p1 < $CWD/gcc47.patch + CFLAGS="$SLKCFLAGS" \ make make install DESTDIR=$PKG/usr -- cgit v1.2.3