diff options
Diffstat (limited to 'net/bind9/patches/patch-an')
-rw-r--r-- | net/bind9/patches/patch-an | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/net/bind9/patches/patch-an b/net/bind9/patches/patch-an new file mode 100644 index 00000000000..7bf9d650dbc --- /dev/null +++ b/net/bind9/patches/patch-an @@ -0,0 +1,22 @@ +$NetBSD: patch-an,v 1.1 2006/08/28 16:00:45 seb Exp $ + +--- lib/bind/include/netdb.h.orig 2004-11-30 01:15:42.000000000 +0000 ++++ lib/bind/include/netdb.h +@@ -179,9 +179,17 @@ struct addrinfo { + int _ai_pad; + #endif + socklen_t ai_addrlen; ++#elif defined(__NetBSD__) ++#if defined(__sparc__) && defined(_LP64) ++ int _ai_pad; ++#endif ++ socklen_t ai_addrlen; + #else + size_t ai_addrlen; /* length of ai_addr */ + #endif ++#if defined(__NetBSD__) && (defined(__alpha__) || (defined(__i386__) && defined(_LP64))) ++ int _ai_pad; ++#endif + #ifdef __linux + struct sockaddr *ai_addr; /* binary address */ + char *ai_canonname; /* canonical name for hostname */ |