network/avahi: Updated for version 0.6.32.

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
Robby Workman 2017-06-01 16:36:36 -05:00 committed by Willy Sudiarto Raharjo
parent 65e2110080
commit 17ad7f1950
3 changed files with 18 additions and 8 deletions

View File

@ -27,7 +27,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=avahi PRGNAM=avahi
VERSION=${VERSION:-0.6.31} VERSION=${VERSION:-0.6.32}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
@ -99,10 +99,8 @@ find -L . \
# Thanks to Robby Workman for this patch. # Thanks to Robby Workman for this patch.
patch -p1 --verbose < $CWD/fixup_avahi-dnsconfd.action.patch patch -p1 --verbose < $CWD/fixup_avahi-dnsconfd.action.patch
# Permit deprecated functions, see https://bugzilla.redhat.com/show_bug.cgi?id=1001676#c9 # Fix dbus detection report
# There's a cmake option for this, but no configure option, patch -p1 --verbose < $CWD/fix-dbus-report-after-configure.patch
# so thanks to Arch Linux for this one-liner:
sed 's:-DG[^ ]*_DISABLE_DEPRECATED=1::g' -i avahi-ui/Makefile.*
CFLAGS="$SLKCFLAGS" \ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \

View File

@ -1,8 +1,8 @@
PRGNAM="avahi" PRGNAM="avahi"
VERSION="0.6.31" VERSION="0.6.32"
HOMEPAGE="http://avahi.org/" HOMEPAGE="http://avahi.org/"
DOWNLOAD="http://pkgs.fedoraproject.org/repo/pkgs/avahi/avahi-0.6.31.tar.gz/2f22745b8f7368ad5a0a3fddac343f2d/avahi-0.6.31.tar.gz" DOWNLOAD="https://github.com/lathiat/avahi/releases/download/v0.6.32/avahi-0.6.32.tar.gz"
MD5SUM="2f22745b8f7368ad5a0a3fddac343f2d" MD5SUM="22b5e705d3eabb31d26f2e1e7b074013"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="libdaemon" REQUIRES="libdaemon"

View File

@ -0,0 +1,12 @@
diff -Nur avahi-0.6.32.orig/configure avahi-0.6.32/configure
--- avahi-0.6.32.orig/configure 2016-02-15 20:16:07.593116883 -0600
+++ avahi-0.6.32/configure 2017-06-01 16:26:54.861206047 -0500
@@ -28506,7 +28506,7 @@
BUILD_CLIENT="no (You need avahi-daemon and D-Bus!)"
-if "x$HAVE_DBUS" = "xyes" ; then
+if test "x$HAVE_DBUS" = "xyes" ; then
BUILD_CLIENT=yes
fi