diff options
author | Hunter Sezen <orbea@fredslev.dk> | 2018-08-16 21:42:21 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-08-18 08:39:48 +0700 |
commit | 619da28b3d203b3ea4641f4a11655c0c4fa3ac81 (patch) | |
tree | ea52b11359aacd38bb9eb97083fe6fb5110cf71c | |
parent | c010c73fbb1eb516fdee300f2a28eb84b97b3066 (diff) |
libraries/libcmis: Updated to build with boost-1.68 in -current.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r-- | libraries/libcmis/libcmis.SlackBuild | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/libraries/libcmis/libcmis.SlackBuild b/libraries/libcmis/libcmis.SlackBuild index cf9049721eb3c..0c3286a0b3958 100644 --- a/libraries/libcmis/libcmis.SlackBuild +++ b/libraries/libcmis/libcmis.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for Libcmis -# Copyright 2015, 2017 Hunter Sezen California, USA +# Copyright 2015, 2017-2018 Hunter Sezen California, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +24,7 @@ PRGNAM=libcmis VERSION=${VERSION:-0.5.1} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -75,13 +75,20 @@ else cppunit='--disable-tests' fi +# Fix for boost-1.68.0 in current +# https://github.com/tdf/libcmis/issues/19 +[ -f /usr/include/boost/uuid/detail/sha1.hpp ] && + sed -i 's|boost/uuid/sha1.hpp|boost/uuid/detail/sha1.hpp|' \ + ./src/libcmis/xml-utils.cxx + # libcmis is not a GNU-conformant project # https://github.com/tdf/libcmis/commit/ad89848c93d9357992f6d7d9a5b1e602f25e930c zcat $CWD/configure.patch.gz | patch -p1 autoreconf -fi + CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS -Wno-deprecated" \ ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ |