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/README | 2 +- libraries/libmwaw/ctor.patch.gz | Bin 0 -> 210 bytes libraries/libmwaw/libmwaw.SlackBuild | 16 +++++++++++----- libraries/libmwaw/libmwaw.info | 6 +++--- 4 files changed, 15 insertions(+), 9 deletions(-) create mode 100644 libraries/libmwaw/ctor.patch.gz diff --git a/libraries/libmwaw/README b/libraries/libmwaw/README index e7af0df158c60..32f741ca8c494 100644 --- a/libraries/libmwaw/README +++ b/libraries/libmwaw/README @@ -4,4 +4,4 @@ images, spreadsheets and databases of many formats. The library is a part of the Document Liberation Project. To build the doxygen html documentation use: - DOC="yes". + DOC="yes" ./libmwaw.SlackBuild diff --git a/libraries/libmwaw/ctor.patch.gz b/libraries/libmwaw/ctor.patch.gz new file mode 100644 index 0000000000000..974d69c3b5657 Binary files /dev/null and b/libraries/libmwaw/ctor.patch.gz differ 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 diff --git a/libraries/libmwaw/libmwaw.info b/libraries/libmwaw/libmwaw.info index c4cf74334737b..36cb9e30f3073 100644 --- a/libraries/libmwaw/libmwaw.info +++ b/libraries/libmwaw/libmwaw.info @@ -1,8 +1,8 @@ PRGNAM="libmwaw" -VERSION="0.3.12" +VERSION="0.3.13" HOMEPAGE="https://sourceforge.net/p/libmwaw/wiki/Home/" -DOWNLOAD="https://sourceforge.net/projects/libmwaw/files/libmwaw/libmwaw-0.3.12/libmwaw-0.3.12.tar.xz" -MD5SUM="feba044fe0bfd37fa421acbc7debd59a" +DOWNLOAD="https://sourceforge.net/projects/libmwaw/files/libmwaw/libmwaw-0.3.13/libmwaw-0.3.13.tar.xz" +MD5SUM="34ab956c694d0b5fa351c1f84fe27dff" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -- cgit v1.2.3