summaryrefslogtreecommitdiff
path: root/libraries/libmwaw/libmwaw.SlackBuild
diff options
context:
space:
mode:
authorHunter Sezen <ovariegata@yahoo.com>2018-03-17 00:48:46 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-03-17 08:51:50 +0700
commit4550713906e94dac4eb0c59d31c3dfc29f46fa92 (patch)
tree8eafa26b4d0686385d85ef8cf917d761718d5e45 /libraries/libmwaw/libmwaw.SlackBuild
parent4ef39c2fcc037f9fbd97703652db64ada69457a5 (diff)
downloadslackbuilds-4550713906e94dac4eb0c59d31c3dfc29f46fa92.tar.gz
libraries/libmwaw: Updated for version 0.3.13.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'libraries/libmwaw/libmwaw.SlackBuild')
-rw-r--r--libraries/libmwaw/libmwaw.SlackBuild16
1 files changed, 11 insertions, 5 deletions
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