summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorhasso <hasso>2008-12-23 02:08:05 +0000
committerhasso <hasso>2008-12-23 02:08:05 +0000
commit4521ebfb5d1c6e440a1b5a56d10c7e1aa42ac0af (patch)
tree497dc21e47a37e0222987f29cef2cfb4e04442a3 /net
parentaa72d50540142d465246533ed54dcf5aaf551ff5 (diff)
downloadpkgsrc-4521ebfb5d1c6e440a1b5a56d10c7e1aa42ac0af.tar.gz
Make it compile in DragonFly and possibly help other platforms.
Diffstat (limited to 'net')
-rw-r--r--net/avahi/distinfo4
-rw-r--r--net/avahi/patches/patch-ag13
-rw-r--r--net/avahi/patches/patch-ah19
3 files changed, 35 insertions, 1 deletions
diff --git a/net/avahi/distinfo b/net/avahi/distinfo
index f0a6744293b..c160301feaa 100644
--- a/net/avahi/distinfo
+++ b/net/avahi/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.1.1.1 2008/12/20 17:36:14 wiz Exp $
+$NetBSD: distinfo,v 1.2 2008/12/23 02:08:05 hasso Exp $
SHA1 (avahi-0.6.23.tar.gz) = 54a0d1944e43805886aafccaf5cc3ec567f5cc9e
RMD160 (avahi-0.6.23.tar.gz) = cdb24199bb9d48eba0a98097b4fe5aee94b8367c
@@ -9,3 +9,5 @@ SHA1 (patch-ac) = 0484dc5e663fd299f46d15c283fb6fde4aab3537
SHA1 (patch-ad) = 9966ae9fd0d715fa735efc3b92b2cabe6de53b48
SHA1 (patch-ae) = ec99b721253b0181ae12ab392d98e79ede30ddba
SHA1 (patch-af) = 57a788ca492f15c0e05870ea5eb6c4048b30b9c5
+SHA1 (patch-ag) = ddfcb74e5e34619245ad230a73c732261c2250ea
+SHA1 (patch-ah) = 63758f0e5ca24a1570c0c8dfea05836d6cce73f0
diff --git a/net/avahi/patches/patch-ag b/net/avahi/patches/patch-ag
new file mode 100644
index 00000000000..d7a659feca4
--- /dev/null
+++ b/net/avahi/patches/patch-ag
@@ -0,0 +1,13 @@
+$NetBSD: patch-ag,v 1.1 2008/12/23 02:08:06 hasso Exp $
+
+--- configure.orig 2008-12-21 13:37:12 +0200
++++ configure 2008-12-21 13:37:41 +0200
+@@ -22820,7 +22820,7 @@ with_distro=`echo ${with_distro} | tr '[
+ case $with_distro in
+ debian|gentoo|archlinux|suse|fedora|mandriva|darwin|freebsd|slackware|none)
+ ;;
+- netbsd)
++ netbsd|dragonfly)
+ { $as_echo "$as_me:$LINENO: WARNING: Your distribution (${with_distro}) is supported but no init script exist yet! (patches welcome)" >&5
+ $as_echo "$as_me: WARNING: Your distribution (${with_distro}) is supported but no init script exist yet! (patches welcome)" >&2;}
+ ;;
diff --git a/net/avahi/patches/patch-ah b/net/avahi/patches/patch-ah
new file mode 100644
index 00000000000..5fbe382caf7
--- /dev/null
+++ b/net/avahi/patches/patch-ah
@@ -0,0 +1,19 @@
+$NetBSD: patch-ah,v 1.1 2008/12/23 02:08:06 hasso Exp $
+
+--- avahi-common/strlst.c.orig 2008-12-21 20:02:13 +0200
++++ avahi-common/strlst.c 2008-12-21 20:02:39 +0200
+@@ -33,6 +33,14 @@
+ #include "malloc.h"
+ #include "defs.h"
+
++#ifndef va_copy
++#ifdef __va_copy
++#define va_copy(DEST,SRC) __va_copy((DEST),(SRC))
++#else
++#define va_copy(DEST,SRC) memcpy(&(DEST), &(SRC), sizeof(va_list))
++#endif
++#endif
++
+ AvahiStringList*avahi_string_list_add_anonymous(AvahiStringList *l, size_t size) {
+ AvahiStringList *n;
+