From 86849038ea0a8aefbd651e0ab8ec23b9ac88efde Mon Sep 17 00:00:00 2001 From: Larry Hajali Date: Wed, 1 Aug 2012 09:15:45 -0300 Subject: libraries/ois: Included patch for gcc-4.7. Signed-off-by: Niels Horn --- libraries/ois/ois.SlackBuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'libraries/ois/ois.SlackBuild') diff --git a/libraries/ois/ois.SlackBuild b/libraries/ois/ois.SlackBuild index 60891771f4..8473686b5a 100644 --- a/libraries/ois/ois.SlackBuild +++ b/libraries/ois/ois.SlackBuild @@ -7,7 +7,7 @@ PRGNAM=ois VERSION=${VERSION:-1.3.0} SRCVER=${SRCVER:-v1-3} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -52,6 +52,9 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +# Fix for gcc 4.7.x. +patch -p1 < $CWD/gcc-4.7.patch + [ ! -x ./bootstrap ] && chmod +x ./bootstrap ./bootstrap -- cgit v1.2.3