summaryrefslogtreecommitdiff
path: root/development/glm/glm.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/glm/glm.SlackBuild')
-rw-r--r--development/glm/glm.SlackBuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/development/glm/glm.SlackBuild b/development/glm/glm.SlackBuild
index ac1065e3f8..34b829d5fb 100644
--- a/development/glm/glm.SlackBuild
+++ b/development/glm/glm.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for glm
-# Copyright 2012-2017 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
+# Copyright 2012-2018 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=glm
-VERSION=${VERSION:-0.9.8.4}
+VERSION=${VERSION:-0.9.8.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -46,7 +46,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root.root .
find -L . \
@@ -55,6 +55,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# thanks gentoo
+patch -p1 < $CWD/glm-gcc73.patch
+
mkdir -p build
cd build
cmake \