diff options
-rw-r--r-- | net/dante/distinfo | 4 | ||||
-rw-r--r-- | net/dante/patches/patch-ab | 24 |
2 files changed, 18 insertions, 10 deletions
diff --git a/net/dante/distinfo b/net/dante/distinfo index 73d239a0cde..3270876ffa6 100644 --- a/net/dante/distinfo +++ b/net/dante/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.10 2006/01/12 23:37:31 joerg Exp $ +$NetBSD: distinfo,v 1.11 2006/01/19 18:52:59 joerg Exp $ SHA1 (dante-1.1.17.tar.gz) = 25d4dd85de93e65e519d498085c12eee597a5a83 RMD160 (dante-1.1.17.tar.gz) = ab8f37dd5d141d35258916eecfe9e8d0393dc207 Size (dante-1.1.17.tar.gz) = 845155 bytes SHA1 (patch-aa) = 856884522529122afe037fff610ce89a978d2a2b -SHA1 (patch-ab) = 5958c6bca36b85e9f1bdf1388c86844bad6b92a3 +SHA1 (patch-ab) = 586825b1da2c73c382f27d299f795a336be32a86 diff --git a/net/dante/patches/patch-ab b/net/dante/patches/patch-ab index 3eef639fca0..77cf0012ecf 100644 --- a/net/dante/patches/patch-ab +++ b/net/dante/patches/patch-ab @@ -1,6 +1,6 @@ -$NetBSD: patch-ab,v 1.6 2006/01/12 23:37:31 joerg Exp $ +$NetBSD: patch-ab,v 1.7 2006/01/19 18:53:00 joerg Exp $ ---- configure.orig 2005-07-14 11:22:39.000000000 +0000 +--- configure.orig 2005-07-14 13:22:39.000000000 +0200 +++ configure @@ -19864,7 +19864,6 @@ else echo "${ECHO_T}no" >&6 @@ -24,15 +24,23 @@ $NetBSD: patch-ab,v 1.6 2006/01/12 23:37:31 joerg Exp $ ); int main () -@@ -25352,7 +25356,11 @@ cat >>confdefs.h <<_ACEOF +@@ -25351,9 +25355,18 @@ cat >>confdefs.h <<_ACEOF + #define HAVE_PROT_GETHOSTBYADDR_1 const char * _ACEOF - cat >>confdefs.h <<_ACEOF -+#if defined(__DragonFly__) +-cat >>confdefs.h <<_ACEOF ++case "$host_os" in ++dragonfly*) ++ cat >>confdefs.h <<_ACEOF #define HAVE_PROT_GETHOSTBYADDR_2 int -+#else -+#define HAVE_PROT_GETHOSTBYADDR_2 socklen_t -+#endif _ACEOF ++;; ++*) ++ cat >>confdefs.h <<_ACEOF ++#define HAVE_PROT_GETHOSTBYADDR_2 socklen_t ++_ACEOF ++;; ++esac cat >>confdefs.h <<_ACEOF + #define HAVE_PROT_GETHOSTBYADDR_3 int |