summaryrefslogtreecommitdiff
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
parent65e211008078497fefd5ef6032992cb1521e7e50 (diff)
downloadslackbuilds-17ad7f19509d6979d3e9bce688f02432b666c5f1.tar.gz
network/avahi: Updated for version 0.6.32.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-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 f789d9f705..ddd30dfcad 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 3ccb9ef86c..bcfd6913d5 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 0000000000..1a44dd3b88
--- /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
+