Annotation of pkgsrc/sysutils/WCMCommander/patches/patch-src_tcp__sock.cpp, revision 1.2
1.2 ! wiz 1: $NetBSD: patch-src_tcp__sock.cpp,v 1.1 2015/09/08 13:13:20 wiz Exp $
1.1 wiz 2:
3: NetBSD does not have gethostbyname_r() either.
1.2 ! wiz 4: https://github.com/corporateshark/WCMCommander/pull/509
1.1 wiz 5:
6: --- src/tcp_sock.cpp.orig 2015-04-24 21:50:22.000000000 +0000
7: +++ src/tcp_sock.cpp
8: @@ -64,7 +64,7 @@ bool GetHostIp( const char* utf8, unsign
9:
10: struct hostent* ret;
11:
12: -#if defined( __APPLE__ ) || defined(__OpenBSD__)
13: +#if defined( __APPLE__ ) || defined(__OpenBSD__) || defined(__NetBSD__)
14: ret = gethostbyname( utf8 );
15:
16: if ( !ret )
CVSweb <webmaster@jp.NetBSD.org>