diff options
Diffstat (limited to 'libraries/libmwaw/libmwaw.SlackBuild')
-rw-r--r-- | libraries/libmwaw/libmwaw.SlackBuild | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/libraries/libmwaw/libmwaw.SlackBuild b/libraries/libmwaw/libmwaw.SlackBuild index e5c0d2bed2e0c..47da3fd1bbb3f 100644 --- a/libraries/libmwaw/libmwaw.SlackBuild +++ b/libraries/libmwaw/libmwaw.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for libmwaw -# Copyright 2015-2017 Hunter Sezen California, USA +# Copyright 2015-2018 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=libmwaw -VERSION=${VERSION:-0.3.12} +VERSION=${VERSION:-0.3.13} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -69,17 +69,23 @@ 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 {} \; -case "${DOC:-no}" in - yes) doc='--with-docs' ;; - *) doc='--without-docs' ;; +case "${DOC:-0}" in + 0) doc='--without-docs' ;; + *) doc='--with-docs' ;; esac +# fix call of explicit ctor +# https://sourceforge.net/p/libmwaw/libmwaw/ci/4bc8ec0481f89b989b0c34236c9d5d9b8038d4a9/ +# https://sourceforge.net/p/libmwaw/tickets/12/ +zcat $CWD/ctor.patch.gz | patch -p1 + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --docdir=/usr/doc/$PRGNAM-$VERSION \ + --disable-static \ --disable-werror \ --build=$ARCH-slackware-linux \ $doc |