network/avahi: Fixed build on -current.

Signed-off-by: David Spencer <baildon.research@googlemail.com>
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
David Spencer 2015-05-28 21:07:06 +01:00 committed by Willy Sudiarto Raharjo
parent 09be3d5200
commit d6234bdeb3
1 changed files with 5 additions and 0 deletions

View File

@ -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 \