aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2021-09-29 16:57:38 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-10-13 00:52:29 +0700
commit68824e5ef78bd7a5ea7c77ee658a4a8c048ea78b (patch)
tree336b239e43a8a8d2bed80974b8eea19ad898d8f6
parent86305cca0ab7d725cfb0915f0a5dc43c596fc5e2 (diff)
office/paps: Fix -current build.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--office/paps/paps.SlackBuild5
1 files changed, 2 insertions, 3 deletions
diff --git a/office/paps/paps.SlackBuild b/office/paps/paps.SlackBuild
index 61d438bea0eb..df634421d140 100644
--- a/office/paps/paps.SlackBuild
+++ b/office/paps/paps.SlackBuild
@@ -23,6 +23,7 @@
# Now maintained by B. Watson <yalhcru@gmail.com>.
+# 20210929 bkw: fix build on -current (--disable-Werror).
# 20191130 bkw: update for v0.7.1. upstream removed README.md and examples.
# 20180629 bkw:
@@ -51,9 +52,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -93,6 +91,7 @@ find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
+ --disable-Werror \
--prefix=/usr \
--libdir=/usr/lib$LIBDIRSUFFIX \
--sysconfdir=/etc/paps \