aboutsummaryrefslogtreecommitdiff
path: root/libraries/libindicator3
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-09-26 15:43:42 +0200
committerRobby Workman <rworkman@slackbuilds.org>2021-04-17 23:39:39 -0500
commitefb7da890f1263370c023fde91bcecd73296b242 (patch)
tree649f2c3e94ac61c5dd35ebb415a6017da73b571f /libraries/libindicator3
parent57d852ba9340f35e781d60daaa48deb1ba20eae6 (diff)
libraries/libindicator3: Disable warnings-as-errors.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'libraries/libindicator3')
-rw-r--r--libraries/libindicator3/libindicator3.SlackBuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/libraries/libindicator3/libindicator3.SlackBuild b/libraries/libindicator3/libindicator3.SlackBuild
index c47ccefa2a21..f4c8d0ee8a86 100644
--- a/libraries/libindicator3/libindicator3.SlackBuild
+++ b/libraries/libindicator3/libindicator3.SlackBuild
@@ -69,6 +69,9 @@ 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 {} \;
+# Disable warnings-as-errors
+sed -i "s|-Wall -Werror|-Wall|" */Makefile.am
+
./autogen.sh
CFLAGS="$SLKCFLAGS -Wno-deprecated -Wno-deprecated-declarations" \
CXXFLAGS="$SLKCFLAGS -Wno-deprecated -Wno-deprecated-declarations" \