diff options
author | Hunter Sezen <orbea@riseup.net> | 2019-08-24 23:42:52 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-08-24 23:42:52 +0700 |
commit | bf362dcb0230b8ed01fd7107ab0eff8924f68bac (patch) | |
tree | 40fbca9af1114743a60672a57325caa0c336e7b3 /libraries/liborcus | |
parent | fe23c5affed08c1ab022b0615dae0bf84b90737f (diff) |
libraries/liborcus: Updated for version 0.15.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/liborcus')
-rw-r--r-- | libraries/liborcus/liborcus.SlackBuild | 15 | ||||
-rw-r--r-- | libraries/liborcus/liborcus.info | 6 |
2 files changed, 14 insertions, 7 deletions
diff --git a/libraries/liborcus/liborcus.SlackBuild b/libraries/liborcus/liborcus.SlackBuild index 4d45f9177059a..56345b0b8d05d 100644 --- a/libraries/liborcus/liborcus.SlackBuild +++ b/libraries/liborcus/liborcus.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for liborcus -# 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=liborcus -VERSION=${VERSION:-0.14.1} +VERSION=${VERSION:-0.15.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -69,6 +69,13 @@ 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 gcc5. +# https://gitlab.com/orcus/orcus/merge_requests/55 +sed -i 's/std::make_unique/orcus::make_unique/' src/spreadsheet/document.cpp +sed -i 's/std::make_unique/orcus::make_unique/' src/cli_global.cpp +sed -i '/#include "cli_global.hpp"/a#include "orcus/global.hpp"' \ + src/cli_global.cpp + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -80,8 +87,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 CHANGELOG ChangeLog LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/libraries/liborcus/liborcus.info b/libraries/liborcus/liborcus.info index cef66a6a1ca50..b75f52bad9032 100644 --- a/libraries/liborcus/liborcus.info +++ b/libraries/liborcus/liborcus.info @@ -1,8 +1,8 @@ PRGNAM="liborcus" -VERSION="0.14.1" +VERSION="0.15.1" HOMEPAGE="https://gitlab.com/orcus/orcus" -DOWNLOAD="https://kohei.us/files/orcus/src/liborcus-0.14.1.tar.xz" -MD5SUM="d3f56b0eb115a081ee3e1d244f0a8a78" +DOWNLOAD="https://kohei.us/files/orcus/src/liborcus-0.15.1.tar.xz" +MD5SUM="f31d90c83ed559117405d0a9a00516cd" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="libixion" |