summaryrefslogtreecommitdiff
path: root/net/avahi/patches/patch-aj
diff options
context:
space:
mode:
Diffstat (limited to 'net/avahi/patches/patch-aj')
-rw-r--r--net/avahi/patches/patch-aj33
1 files changed, 20 insertions, 13 deletions
diff --git a/net/avahi/patches/patch-aj b/net/avahi/patches/patch-aj
index eab692005bc..d663c8d9dcd 100644
--- a/net/avahi/patches/patch-aj
+++ b/net/avahi/patches/patch-aj
@@ -1,15 +1,22 @@
-$NetBSD: patch-aj,v 1.1 2009/01/16 22:25:04 tonio Exp $
+$NetBSD: patch-aj,v 1.2 2009/02/04 07:07:18 dbj Exp $
---- config.h.in.orig 2008-12-12 21:57:30.000000000 +0100
-+++ config.h.in
-@@ -384,6 +384,10 @@
- /* Define to 1 if you need to in order for `stat' and other things to work. */
- #undef _POSIX_SOURCE
-
-+#ifdef __APPLE__
-+#define _DARWIN_C_SOURCE 1
-+#endif
-+
- /* Define to empty if `const' does not conform to ANSI C. */
- #undef const
+--- configure.ac.orig 2008-06-23 16:17:27.000000000 -0700
++++ configure.ac 2009-02-03 22:23:51.000000000 -0800
+@@ -266,7 +266,7 @@ with_distro=`echo ${with_distro} | tr '[
+ case $with_distro in
+ debian|gentoo|archlinux|suse|fedora|mandriva|darwin|freebsd|slackware|none)
+ ;;
+- netbsd)
++ netbsd|dragonfly)
+ AC_MSG_WARN([Your distribution (${with_distro}) is supported but no init script exist yet! (patches welcome)])
+ ;;
+ linux)
+@@ -348,7 +348,7 @@ AC_HEADER_SYS_WAIT
+ # Solaris stuff
+ AC_SEARCH_LIBS([inet_ntop],[nsl])
+ AC_SEARCH_LIBS([recv],[socket])
+- AC_CHECK_DECL([CMSG_SPACE],,CFLAGS="$CFLAGS -D_XOPEN_SOURCE=500 -D__EXTENSIONS__")
++ AC_CHECK_DECL([CMSG_SPACE],,CFLAGS="$CFLAGS -D_XOPEN_SOURCE=500 -D__EXTENSIONS__",[#include<sys/socket.h>])
+ # Checks for library functions.
+ AC_FUNC_MEMCMP