summaryrefslogtreecommitdiff
path: root/net/dante
diff options
context:
space:
mode:
authorjoerg <joerg>2006-01-12 23:37:31 +0000
committerjoerg <joerg>2006-01-12 23:37:31 +0000
commit7e7037c7ddb2aa208fcc4d5f7e98e8410cde1846 (patch)
treed413f84dbdbde67975069e710a3a2cc44ddfd5af /net/dante
parent3d623e12f9a6743ac0a6f259750596aca30d5225 (diff)
downloadpkgsrc-7e7037c7ddb2aa208fcc4d5f7e98e8410cde1846.tar.gz
DragonFly's gethostbyaddr needs int as second argument.
Diffstat (limited to 'net/dante')
-rw-r--r--net/dante/distinfo4
-rw-r--r--net/dante/patches/patch-ab22
2 files changed, 17 insertions, 9 deletions
diff --git a/net/dante/distinfo b/net/dante/distinfo
index aef82427413..73d239a0cde 100644
--- a/net/dante/distinfo
+++ b/net/dante/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.9 2005/08/12 19:13:11 drochner Exp $
+$NetBSD: distinfo,v 1.10 2006/01/12 23:37:31 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) = e4aabf55e51bd3dc2f6e90301a04f288043f1e7b
+SHA1 (patch-ab) = 5958c6bca36b85e9f1bdf1388c86844bad6b92a3
diff --git a/net/dante/patches/patch-ab b/net/dante/patches/patch-ab
index d9364c75b29..3eef639fca0 100644
--- a/net/dante/patches/patch-ab
+++ b/net/dante/patches/patch-ab
@@ -1,8 +1,8 @@
-$NetBSD: patch-ab,v 1.5 2005/04/04 10:00:54 adam Exp $
+$NetBSD: patch-ab,v 1.6 2006/01/12 23:37:31 joerg Exp $
---- configure.orig 2005-01-24 10:12:25.000000000 +0000
+--- configure.orig 2005-07-14 11:22:39.000000000 +0000
+++ configure
-@@ -19858,7 +19858,6 @@ else
+@@ -19864,7 +19864,6 @@ else
echo "${ECHO_T}no" >&6
#autoconf_compflags is set to "-g -O2" with GCC
#override CFLAGS when running configure to avoid this
@@ -10,21 +10,29 @@ $NetBSD: patch-ab,v 1.5 2005/04/04 10:00:54 adam Exp $
fi
#-Wall ?
-@@ -25304,7 +25303,7 @@ cat >>conftest.$ac_ext <<_ACEOF
+@@ -25309,8 +25308,13 @@ cat >>conftest.$ac_ext <<_ACEOF
+ #include <netdb.h>
#include <unistd.h>
++#if defined(__DragonFly__)
struct hostent *
--gethostbyaddr( const char *, int, int
+ gethostbyaddr( const char *, int, int
++#else
++struct hostent *
+gethostbyaddr( const char *, socklen_t, int
++#endif
);
int
main ()
-@@ -25346,7 +25345,7 @@ cat >>confdefs.h <<_ACEOF
+@@ -25352,7 +25356,11 @@ cat >>confdefs.h <<_ACEOF
_ACEOF
cat >>confdefs.h <<_ACEOF
--#define HAVE_PROT_GETHOSTBYADDR_2 int
++#if defined(__DragonFly__)
+ #define HAVE_PROT_GETHOSTBYADDR_2 int
++#else
+#define HAVE_PROT_GETHOSTBYADDR_2 socklen_t
++#endif
_ACEOF
cat >>confdefs.h <<_ACEOF