diff options
Diffstat (limited to 'sysutils/WCMCommander/patches/patch-src_tcp__sock.cpp')
-rw-r--r-- | sysutils/WCMCommander/patches/patch-src_tcp__sock.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/sysutils/WCMCommander/patches/patch-src_tcp__sock.cpp b/sysutils/WCMCommander/patches/patch-src_tcp__sock.cpp new file mode 100644 index 00000000000..14f7083fd35 --- /dev/null +++ b/sysutils/WCMCommander/patches/patch-src_tcp__sock.cpp @@ -0,0 +1,15 @@ +$NetBSD: patch-src_tcp__sock.cpp,v 1.1 2015/09/08 13:13:20 wiz Exp $ + +NetBSD does not have gethostbyname_r() either. + +--- src/tcp_sock.cpp.orig 2015-04-24 21:50:22.000000000 +0000 ++++ src/tcp_sock.cpp +@@ -64,7 +64,7 @@ bool GetHostIp( const char* utf8, unsign + + struct hostent* ret; + +-#if defined( __APPLE__ ) || defined(__OpenBSD__) ++#if defined( __APPLE__ ) || defined(__OpenBSD__) || defined(__NetBSD__) + ret = gethostbyname( utf8 ); + + if ( !ret ) |