diff options
Diffstat (limited to 'libraries/libcmis/libcmis.SlackBuild')
-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} \ |