From 4550713906e94dac4eb0c59d31c3dfc29f46fa92 Mon Sep 17 00:00:00 2001 From: Hunter Sezen Date: Sat, 17 Mar 2018 00:48:46 +0000 Subject: libraries/libmwaw: Updated for version 0.3.13. Signed-off-by: David Spencer --- libraries/libmwaw/libmwaw.SlackBuild | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'libraries/libmwaw/libmwaw.SlackBuild') diff --git a/libraries/libmwaw/libmwaw.SlackBuild b/libraries/libmwaw/libmwaw.SlackBuild index e5c0d2bed2..47da3fd1bb 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 -- cgit v1.2.3