pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/avahi Make it compile in DragonFly and possibly he...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/60c08dc3ed5f
branches:  trunk
changeset: 552019:60c08dc3ed5f
user:      hasso <hasso%pkgsrc.org@localhost>
date:      Tue Dec 23 02:08:05 2008 +0000

description:
Make it compile in DragonFly and possibly help other platforms.

diffstat:

 net/avahi/distinfo         |   4 +++-
 net/avahi/patches/patch-ag |  13 +++++++++++++
 net/avahi/patches/patch-ah |  19 +++++++++++++++++++
 3 files changed, 35 insertions(+), 1 deletions(-)

diffs (55 lines):

diff -r 488e85024e2d -r 60c08dc3ed5f net/avahi/distinfo
--- a/net/avahi/distinfo        Mon Dec 22 21:30:08 2008 +0000
+++ b/net/avahi/distinfo        Tue Dec 23 02:08:05 2008 +0000
@@ -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-ad) = 9966ae9fd0d715fa735efc3b92b2cabe6de53b48
 SHA1 (patch-ae) = ec99b721253b0181ae12ab392d98e79ede30ddba
 SHA1 (patch-af) = 57a788ca492f15c0e05870ea5eb6c4048b30b9c5
+SHA1 (patch-ag) = ddfcb74e5e34619245ad230a73c732261c2250ea
+SHA1 (patch-ah) = 63758f0e5ca24a1570c0c8dfea05836d6cce73f0
diff -r 488e85024e2d -r 60c08dc3ed5f net/avahi/patches/patch-ag
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/avahi/patches/patch-ag        Tue Dec 23 02:08:05 2008 +0000
@@ -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 -r 488e85024e2d -r 60c08dc3ed5f net/avahi/patches/patch-ah
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/avahi/patches/patch-ah        Tue Dec 23 02:08:05 2008 +0000
@@ -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;
+ 



Home | Main Index | Thread Index | Old Index