diff options
author | Yoshinobu Inoue <shin@FreeBSD.org> | 2000-02-24 06:37:27 +0000 |
---|---|---|
committer | Yoshinobu Inoue <shin@FreeBSD.org> | 2000-02-24 06:37:27 +0000 |
commit | e53d640ca4cee704108d4f31f410b5aa43eb6359 (patch) | |
tree | 0e075cba8c28f79559cf3b2c9602b4be74c0d2fe /net/socks5/files/patch-ar | |
parent | Separete two ports in point of LIB_DEPENDS. (diff) |
Add getaddrinfo() wrapper function support.
Tested and confirmed by: Robert Muir <rmuir@looksharp.net>,
Toshihiko Kodama <kodama@ayame.mfd.cs.fujitsu.co.jp>,
Masahide -mac- NODA <mac@clave.gr.jp>
Approved by: jkh
Reviewed by: imp
Diffstat (limited to 'net/socks5/files/patch-ar')
-rw-r--r-- | net/socks5/files/patch-ar | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/net/socks5/files/patch-ar b/net/socks5/files/patch-ar new file mode 100644 index 000000000000..9558d27d358e --- /dev/null +++ b/net/socks5/files/patch-ar @@ -0,0 +1,12 @@ +--- include/system.h.orig Wed Aug 4 04:59:30 1999 ++++ include/system.h Mon Feb 21 14:43:42 2000 +@@ -24,6 +24,9 @@ + #ifdef HAVE_GETHOSTBYNAME2 + struct hostent * REAL(gethostbyname2) P((const char *, int)); + #endif ++int REAL(getaddrinfo) P((const char *, const char *, ++ const struct addrinfo *, ++ struct addrinfo **)); + struct hostent * REAL(gethostbyname) P((const char *)); + struct hostent * REAL(gethostbyaddr) P((const void *, int, int)); + struct servent * REAL(getservbyname) P((const char *, const char *)); |