summaryrefslogtreecommitdiff
path: root/libraries/openbabel/openbabel.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/openbabel/openbabel.SlackBuild')
-rw-r--r--libraries/openbabel/openbabel.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/libraries/openbabel/openbabel.SlackBuild b/libraries/openbabel/openbabel.SlackBuild
index 66325ec6fa..7bd54ad595 100644
--- a/libraries/openbabel/openbabel.SlackBuild
+++ b/libraries/openbabel/openbabel.SlackBuild
@@ -25,7 +25,7 @@
# Thanks to Daniil Bratashov (dn2010@gmail.com) for the cmake conversion
PRGNAM=openbabel
-VERSION=2.3.1
+VERSION=${VERSION:-2.3.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -69,7 +69,10 @@ find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+# Patch for gcc-5 thanks to Arch
+patch -p0 < $CWD/gcc-5.patch
mkdir -p build
cd build