aboutsummaryrefslogtreecommitdiff
path: root/network/avahi
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2017-06-01 16:36:36 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-06-03 08:00:06 +0700
commit17ad7f19509d6979d3e9bce688f02432b666c5f1 (patch)
treef470f05a62df8b8d0fe5de9c8d375dbf64c2ebd0 /network/avahi
parent65e211008078497fefd5ef6032992cb1521e7e50 (diff)
network/avahi: Updated for version 0.6.32.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network/avahi')
-rw-r--r--network/avahi/avahi.SlackBuild8
-rw-r--r--network/avahi/avahi.info6
-rw-r--r--network/avahi/fix-dbus-report-after-configure.patch12
3 files changed, 18 insertions, 8 deletions
diff --git a/network/avahi/avahi.SlackBuild b/network/avahi/avahi.SlackBuild
index f789d9f705ce2..ddd30dfcadd02 100644
--- a/network/avahi/avahi.SlackBuild
+++ b/network/avahi/avahi.SlackBuild
@@ -27,7 +27,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=avahi
-VERSION=${VERSION:-0.6.31}
+VERSION=${VERSION:-0.6.32}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -99,10 +99,8 @@ 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.*
+# Fix dbus detection report
+patch -p1 --verbose < $CWD/fix-dbus-report-after-configure.patch
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
diff --git a/network/avahi/avahi.info b/network/avahi/avahi.info
index 3ccb9ef86c028..bcfd6913d5b1e 100644
--- a/network/avahi/avahi.info
+++ b/network/avahi/avahi.info
@@ -1,8 +1,8 @@
PRGNAM="avahi"
-VERSION="0.6.31"
+VERSION="0.6.32"
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"
-MD5SUM="2f22745b8f7368ad5a0a3fddac343f2d"
+DOWNLOAD="https://github.com/lathiat/avahi/releases/download/v0.6.32/avahi-0.6.32.tar.gz"
+MD5SUM="22b5e705d3eabb31d26f2e1e7b074013"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libdaemon"
diff --git a/network/avahi/fix-dbus-report-after-configure.patch b/network/avahi/fix-dbus-report-after-configure.patch
new file mode 100644
index 0000000000000..1a44dd3b88e4b
--- /dev/null
+++ b/network/avahi/fix-dbus-report-after-configure.patch
@@ -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
+