summaryrefslogtreecommitdiff
path: root/net/irrd/files/patch-lib_mrt_prefix.c
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-09-01 23:05:26 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-09-01 23:05:26 +0000
commit39a5b78f8797ded2c50107a77794cd671dff707f (patch)
tree39f650e2e85c255908675444e0ce32d9639f251f /net/irrd/files/patch-lib_mrt_prefix.c
parentRemove non staged ports without pending PR from net-im and net-mgmt (diff)
Remove non staged ports without pending PR from net-p2p, net and news
Notes
Notes: svn path=/head/; revision=366967
Diffstat (limited to 'net/irrd/files/patch-lib_mrt_prefix.c')
-rw-r--r--net/irrd/files/patch-lib_mrt_prefix.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/net/irrd/files/patch-lib_mrt_prefix.c b/net/irrd/files/patch-lib_mrt_prefix.c
deleted file mode 100644
index 28ef751dd7e9..000000000000
--- a/net/irrd/files/patch-lib_mrt_prefix.c
+++ /dev/null
@@ -1,22 +0,0 @@
-Index: lib/mrt/prefix.c
-diff -u -p lib/mrt/prefix.c.orig lib/mrt/prefix.c
---- lib/mrt/prefix.c.orig Fri Aug 31 03:10:31 2001
-+++ lib/mrt/prefix.c Mon May 1 12:05:11 2006
-@@ -15,7 +15,7 @@
- #include <ws2tcpip.h>
- #endif /* NT */
-
--#ifndef __GLIBC__
-+#if !defined(__GLIBC__) && !defined(__FreeBSD__)
- #ifdef __osf__
-
- /* apparently, OSF's gethostby{name,addr}_r's are different, broken, and
-@@ -50,7 +50,7 @@ struct hostent *gethostbyaddr_r
- For the time being, this part tries to convert Linux glibc 2.X
- gethostXX_r into Solaris's that we use to code MRT. -- masaki
- */
--#if __GLIBC__ >= 2
-+#if __GLIBC__ >= 2 || (defined(__FreeBSD__) && defined(HAVE_GETHOSTBYNAME_R))
- /* Glibc 2.X
-
- int gethostbyname_r (const char *name, struct hostent *result_buf,