summaryrefslogtreecommitdiff
path: root/net/mDNSResponder
diff options
context:
space:
mode:
authortnn <tnn>2010-07-15 09:08:28 +0000
committertnn <tnn>2010-07-15 09:08:28 +0000
commit9a07dcfab7c24ea6278f201aaa8d260f34bb0f9e (patch)
tree83507a4b6a79ec0e18328abed02685f9467e618b /net/mDNSResponder
parentd1f2b916b93818b8d88108ee9bfa110b783fee71 (diff)
downloadpkgsrc-9a07dcfab7c24ea6278f201aaa8d260f34bb0f9e.tar.gz
Add support for pkgsrc's primary platform ...
Diffstat (limited to 'net/mDNSResponder')
-rw-r--r--net/mDNSResponder/distinfo5
-rw-r--r--net/mDNSResponder/patches/patch-ac4
-rw-r--r--net/mDNSResponder/patches/patch-ae52
3 files changed, 57 insertions, 4 deletions
diff --git a/net/mDNSResponder/distinfo b/net/mDNSResponder/distinfo
index 96eae9a064f..07ba5be6f73 100644
--- a/net/mDNSResponder/distinfo
+++ b/net/mDNSResponder/distinfo
@@ -1,9 +1,10 @@
-$NetBSD: distinfo,v 1.19 2010/07/14 09:29:04 sbd Exp $
+$NetBSD: distinfo,v 1.20 2010/07/15 09:08:28 tnn Exp $
SHA1 (mDNSResponder-214.3.2.tar.gz) = bd59e0e3008ba797a30360dd8e59beb7152d9872
RMD160 (mDNSResponder-214.3.2.tar.gz) = f9670f661083dae5529422b19655ba9c473960c7
Size (mDNSResponder-214.3.2.tar.gz) = 1633510 bytes
SHA1 (patch-aa) = 9900768a7e3af94f2965320923ecf9d71ae8422b
SHA1 (patch-ab) = 712e3999854215b9ea14f6d444262beef8c545b1
-SHA1 (patch-ac) = b7ca8fe77cae7f50dd715c910551818a65a0e118
+SHA1 (patch-ac) = 60fd50c011dc086b6763fef617ab5f78c8ecc6b5
SHA1 (patch-ad) = fa77b934a63bd07f9b0a4697a3c1a59d242fca19
+SHA1 (patch-ae) = ff7897253de50ac9afd1c1fd15fe73d99c4be47d
diff --git a/net/mDNSResponder/patches/patch-ac b/net/mDNSResponder/patches/patch-ac
index 8d9248f23d4..0f0cc2f4fa2 100644
--- a/net/mDNSResponder/patches/patch-ac
+++ b/net/mDNSResponder/patches/patch-ac
@@ -1,4 +1,4 @@
-$NetBSD: patch-ac,v 1.6 2010/07/14 09:29:04 sbd Exp $
+$NetBSD: patch-ac,v 1.7 2010/07/15 09:08:28 tnn Exp $
* Fix build on FreeBSD and DragonFly, as shown in recent bulk builds and
PR 34022.
@@ -12,7 +12,7 @@ $NetBSD: patch-ac,v 1.6 2010/07/14 09:29:04 sbd Exp $
#endif
-#if defined(AF_INET6) && HAVE_IPV6 && !HAVE_LINUX
-+#if defined(AF_INET6) && HAVE_IPV6 && !HAVE_LINUX && !defined(sun)
++#if defined(AF_INET6) && HAVE_IPV6 && !HAVE_LINUX && !defined(sun) && !defined(__NetBSD__)
#include <net/if_var.h>
#include <netinet/in_var.h>
// Note: netinet/in_var.h implicitly includes netinet6/in6_var.h for us
diff --git a/net/mDNSResponder/patches/patch-ae b/net/mDNSResponder/patches/patch-ae
new file mode 100644
index 00000000000..bdeaf91a095
--- /dev/null
+++ b/net/mDNSResponder/patches/patch-ae
@@ -0,0 +1,52 @@
+$NetBSD: patch-ae,v 1.1 2010/07/15 09:08:28 tnn Exp $
+
+--- mDNSShared/CommonServices.h.orig 2009-03-30 19:51:29.000000000 +0000
++++ mDNSShared/CommonServices.h
+@@ -102,6 +102,16 @@ Common Services and portability support
+ #endif
+ #endif
+
++// NetBSD
++
++#if( !defined( TARGET_OS_NETBSD ) )
++ #if( defined( __NetBSD__ ) )
++ #define TARGET_OS_NETBSD 1
++ #else
++ #define TARGET_OS_NETBSD 0
++ #endif
++#endif
++
+ // Solaris
+
+ #if( !defined( TARGET_OS_SOLARIS ) )
+@@ -128,7 +138,7 @@ Common Services and portability support
+
+ // No predefined macro for VxWorks so just assume VxWorks if nothing else is set.
+
+- #if( !macintosh && !__MACH__ && !defined( __linux__ ) && !defined ( __SVR4 ) && !defined ( __sun ) && !defined( __PALMOS_TRAPS__ ) && !defined( __PALMOS_ARMLET__ ) && !defined( _WIN32 ) )
++ #if( !macintosh && !__MACH__ && !defined( __linux__ ) && !defined ( __SVR4 ) && !defined ( __sun ) && !defined( __PALMOS_TRAPS__ ) && !defined( __PALMOS_ARMLET__ ) && !defined( _WIN32 ) && !defined(__NetBSD__))
+ #define TARGET_OS_VXWORKS 1
+ #else
+ #define TARGET_OS_VXWORKS 0
+@@ -224,6 +234,12 @@ Common Services and portability support
+ #include <stdint.h>
+ #include <arpa/inet.h>
+
++#elif ( TARGET_OS_NETBSD )
++
++ // NetBSD
++
++ #include <arpa/inet.h>
++
+ #elif( TARGET_OS_SOLARIS )
+
+ // Solaris
+@@ -493,7 +509,7 @@ Common Services and portability support
+ // - Windows
+
+ #if( TARGET_LANGUAGE_C_LIKE )
+- #if( !defined(_SSIZE_T) && ( TARGET_OS_WIN32 || !defined( _BSD_SSIZE_T_DEFINED_ ) ) && !TARGET_OS_LINUX && !TARGET_OS_VXWORKS && !TARGET_OS_MAC)
++ #if( !defined(_SSIZE_T) && ( TARGET_OS_WIN32 || !defined( _BSD_SSIZE_T_DEFINED_ ) ) && !TARGET_OS_LINUX && !TARGET_OS_VXWORKS && !TARGET_OS_MAC && !TARGET_OS_NETBSD)
+ typedef int ssize_t;
+ #endif
+ #endif