summaryrefslogtreecommitdiff
path: root/libraries/ois/ois.SlackBuild
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja[at]gmail[dot]com>2012-08-01 09:15:45 -0300
committerRobby Workman <rworkman@slackbuilds.org>2012-08-14 22:30:33 -0500
commit86849038ea0a8aefbd651e0ab8ec23b9ac88efde (patch)
treec801b388edb9898da4e815b4751e10b7fb54b0b3 /libraries/ois/ois.SlackBuild
parentc79a84612163d7ea0ca0537e6daaccaddc056f3d (diff)
downloadslackbuilds-86849038ea0a8aefbd651e0ab8ec23b9ac88efde.tar.gz
libraries/ois: Included patch for gcc-4.7.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
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 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