aboutsummaryrefslogtreecommitdiff
path: root/libraries/ois/ois.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/ois/ois.SlackBuild')
-rw-r--r--libraries/ois/ois.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/libraries/ois/ois.SlackBuild b/libraries/ois/ois.SlackBuild
index 60891771f47dd..8473686b5a7f8 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