aboutsummaryrefslogtreecommitdiff
path: root/libraries/libixion/libixion.SlackBuild
diff options
context:
space:
mode:
authorHunter Sezen <orbea@riseup.net>2019-08-24 23:42:10 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-08-24 23:42:10 +0700
commitfe23c5affed08c1ab022b0615dae0bf84b90737f (patch)
tree2f65e530e8b1ebdf330df164a94e3b015fe2ccf4 /libraries/libixion/libixion.SlackBuild
parentca8e1f105b36a16e63306cd5e21f4d5b23df4478 (diff)
libraries/libixion: Updated for version 0.15.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libixion/libixion.SlackBuild')
-rw-r--r--libraries/libixion/libixion.SlackBuild12
1 files changed, 8 insertions, 4 deletions
diff --git a/libraries/libixion/libixion.SlackBuild b/libraries/libixion/libixion.SlackBuild
index 56cb32d0b710..190f0423c0d8 100644
--- a/libraries/libixion/libixion.SlackBuild
+++ b/libraries/libixion/libixion.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for libixion
-# Copyright 2015-2018 Hunter Sezen California, USA
+# Copyright 2015-2019 Hunter Sezen California, USA
# 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=libixion
-VERSION=${VERSION:-0.14.1}
+VERSION=${VERSION:-0.15.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -69,6 +69,10 @@ 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 {} \;
+# Fix build with clang.
+# https://gitlab.com/ixion/ixion/merge_requests/9
+sed -i 's/nullptr_t/std::nullptr_t/' include/ixion/model_context.hpp
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -80,8 +84,8 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" |
+ grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS LICENSE $PKG/usr/doc/$PRGNAM-$VERSION