diff options
author | sem <sem@FreeBSD.org> | 2006-04-24 04:35:15 +0800 |
---|---|---|
committer | sem <sem@FreeBSD.org> | 2006-04-24 04:35:15 +0800 |
commit | fe8a1bb2e011cedda602b01ac118d270ced605b5 (patch) | |
tree | 8fffb036477ee43f6d5e51f739e335572a0754e4 /devel/ace/files | |
parent | 74b884482f0ac2ea4a718c4baabcd7777c64b069 (diff) | |
download | freebsd-ports-gnome-fe8a1bb2e011cedda602b01ac118d270ced605b5.tar.gz freebsd-ports-gnome-fe8a1bb2e011cedda602b01ac118d270ced605b5.tar.zst freebsd-ports-gnome-fe8a1bb2e011cedda602b01ac118d270ced605b5.zip |
- Update to 5.5.1 (bugfix release)
Diffstat (limited to 'devel/ace/files')
-rw-r--r-- | devel/ace/files/extra-ace-OS_NS_netdb.inl | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/devel/ace/files/extra-ace-OS_NS_netdb.inl b/devel/ace/files/extra-ace-OS_NS_netdb.inl new file mode 100644 index 000000000000..b8908a208c75 --- /dev/null +++ b/devel/ace/files/extra-ace-OS_NS_netdb.inl @@ -0,0 +1,47 @@ +--- ace/OS_NS_netdb.inl.orig Sun Apr 23 23:34:14 2006 ++++ ace/OS_NS_netdb.inl Sun Apr 23 23:39:33 2006 +@@ -101,7 +101,7 @@ + *h_errnop = h_errno; + return (struct hostent *) 0; + } +-# elif defined (__GLIBC__) ++# elif defined (__GLIBC__) || defined (__FreeBSD__) + // GNU C library has a different signature + ACE_OS::memset (buffer, 0, sizeof (ACE_HOSTENT_DATA)); + +@@ -211,7 +211,7 @@ + *h_errnop = h_errno; + return (struct hostent *) 0; + } +-# elif defined (__GLIBC__) ++# elif defined (__GLIBC__) || defined (__FreeBSD__) + // GNU C library has a different signature + ACE_OS::memset (buffer, 0, sizeof (ACE_HOSTENT_DATA)); + +@@ -360,7 +360,7 @@ + return result; + else + return 0; +-# elif defined (__GLIBC__) ++# elif defined (__GLIBC__) || defined (__FreeBSD__) + // GNU C library has a different signature + if (::getprotobyname_r (name, + result, +@@ -427,7 +427,7 @@ + return result; + else + return 0; +-# elif defined (__GLIBC__) ++# elif defined (__GLIBC__) || (__FreeBSD__) + // GNU C library has a different signature + if (::getprotobynumber_r (proto, + result, +@@ -499,7 +499,7 @@ + return result; + else + return (struct servent *) 0; +-# elif defined (__GLIBC__) ++# elif defined (__GLIBC__) || defined (__FreeBSD__) + // GNU C library has a different signature + ACE_OS::memset (buf, 0, sizeof (ACE_SERVENT_DATA)); + |