aboutsummaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2015-05-28 21:07:06 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:40:16 +0700
commitd6234bdeb33fe375ca454d74bb026bf62adc7d08 (patch)
tree58f1cd9f38e201bf5867b17ab0e9e16dd39155ef /network
parent09be3d5200eb5bc76aaa5cda1e6ecffd78ad5c7c (diff)
network/avahi: Fixed build on -current.
Signed-off-by: David Spencer <baildon.research@googlemail.com> Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network')
-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 f478df2952c27..8f9dcfe8ef81d 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 \