diff options
-rw-r--r-- | net/libbind/distinfo | 5 | ||||
-rw-r--r-- | net/libbind/patches/patch-aa | 11 | ||||
-rw-r--r-- | net/libbind/patches/patch-ab | 40 |
3 files changed, 53 insertions, 3 deletions
diff --git a/net/libbind/distinfo b/net/libbind/distinfo index efc29ebf801..0d29c6a7190 100644 --- a/net/libbind/distinfo +++ b/net/libbind/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.1.1.1 2010/04/15 12:57:49 obache Exp $ +$NetBSD: distinfo,v 1.2 2010/12/31 14:36:07 obache Exp $ SHA1 (libbind-6.0.tar.gz) = 4664646238cd3602df168da1e9bc9591d3f566b2 RMD160 (libbind-6.0.tar.gz) = bfafac89a455a05202763f6e10f292978085d811 Size (libbind-6.0.tar.gz) = 757162 bytes -SHA1 (patch-aa) = 86bd68775e9df5b8fcf4f999ecede2e91ab2736c +SHA1 (patch-aa) = 7bd66d73d20420d67f6d6850d77d3762cd594499 +SHA1 (patch-ab) = 6f7ced345bb6edbf37c2aa5bef4971447f02dc0f diff --git a/net/libbind/patches/patch-aa b/net/libbind/patches/patch-aa index ed9cee575ea..66d00b13d2b 100644 --- a/net/libbind/patches/patch-aa +++ b/net/libbind/patches/patch-aa @@ -1,4 +1,4 @@ -$NetBSD: patch-aa,v 1.1.1.1 2010/04/15 12:57:49 obache Exp $ +$NetBSD: patch-aa,v 1.2 2010/12/31 14:36:07 obache Exp $ --- configure.orig 2009-03-05 01:37:31.000000000 +0000 +++ configure @@ -14,3 +14,12 @@ $NetBSD: patch-aa,v 1.1.1.1 2010/04/15 12:57:49 obache Exp $ ;; *) O=o +@@ -25928,7 +25928,7 @@ case "$host" in + PORT_NONBLOCK="#define PORT_NONBLOCK O_NDELAY" + PORT_DIR="port/cygwin";; + *-darwin*) PORT_DIR="port/darwin";; +- *-dragonfly*) PORT_DIR="port/dragonfly";; ++ *-dragonfly*) PORT_DIR="port/freebsd";; + *-osf*) PORT_DIR="port/decunix";; + *-freebsd*) PORT_DIR="port/freebsd";; + *-hpux9*) PORT_DIR="port/hpux9";; diff --git a/net/libbind/patches/patch-ab b/net/libbind/patches/patch-ab new file mode 100644 index 00000000000..9ea9475607d --- /dev/null +++ b/net/libbind/patches/patch-ab @@ -0,0 +1,40 @@ +$NetBSD: patch-ab,v 1.1 2010/12/31 14:36:07 obache Exp $ + +--- include/netdb.h.orig 2008-02-28 05:34:17.000000000 +0000 ++++ include/netdb.h +@@ -492,7 +492,7 @@ int innetgr_r __P((const char *, const + #endif + #else + /* defined(sun) || defined(bsdi) */ +-#if defined(__GLIBC__) || defined(__FreeBSD__) && (__FreeBSD_version + 0 >= 601103) ++#if defined(__GLIBC__) || defined(__FreeBSD__) && (__FreeBSD_version + 0 >= 601103) || defined(__DragonFly__) + int gethostbyaddr_r __P((const char *, int, int, struct hostent *, + char *, size_t, struct hostent **, int *)); + int gethostbyname_r __P((const char *, struct hostent *, +@@ -509,7 +509,7 @@ struct hostent *gethostent_r __P((struct + void sethostent_r __P((int)); + void endhostent_r __P((void)); + +-#if defined(__GLIBC__) || defined(__FreeBSD__) && (__FreeBSD_version + 0 >= 601103) ++#if defined(__GLIBC__) || defined(__FreeBSD__) && (__FreeBSD_version + 0 >= 601103) || defined(__DragonFly__) + int getnetbyname_r __P((const char *, struct netent *, + char *, size_t, struct netent **, int*)); + int getnetbyaddr_r __P((unsigned long int, int, struct netent *, +@@ -525,7 +525,7 @@ struct netent *getnetent_r __P((struct n + void setnetent_r __P((int)); + void endnetent_r __P((void)); + +-#if defined(__GLIBC__) || defined(__FreeBSD__) && (__FreeBSD_version + 0 >= 601103) ++#if defined(__GLIBC__) || defined(__FreeBSD__) && (__FreeBSD_version + 0 >= 601103) || defined(__DragonFly__) + int getprotobyname_r __P((const char *, struct protoent *, char *, + size_t, struct protoent **)); + int getprotobynumber_r __P((int, struct protoent *, char *, size_t, +@@ -541,7 +541,7 @@ struct protoent *getprotoent_r __P((stru + void setprotoent_r __P((int)); + void endprotoent_r __P((void)); + +-#if defined(__GLIBC__) || defined(__FreeBSD__) && (__FreeBSD_version + 0 >= 601103) ++#if defined(__GLIBC__) || defined(__FreeBSD__) && (__FreeBSD_version + 0 >= 601103) || defined(__DragonFly__) + int getservbyname_r __P((const char *name, const char *, + struct servent *, char *, size_t, struct servent **)); + int getservbyport_r __P((int port, const char *, |