summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--network/avahi/avahi.SlackBuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/network/avahi/avahi.SlackBuild b/network/avahi/avahi.SlackBuild
index f478df2952..8f9dcfe8ef 100644
--- a/network/avahi/avahi.SlackBuild
+++ b/network/avahi/avahi.SlackBuild
@@ -99,6 +99,11 @@ find -L . \
# Thanks to Robby Workman for this patch.
patch -p1 --verbose < $CWD/fixup_avahi-dnsconfd.action.patch
+# Permit deprecated functions, see https://bugzilla.redhat.com/show_bug.cgi?id=1001676#c9
+# There's a cmake option for this, but no configure option,
+# so thanks to Arch Linux for this one-liner:
+sed 's:-DG[^ ]*_DISABLE_DEPRECATED=1::g' -i avahi-ui/Makefile.*
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \