aboutsummaryrefslogtreecommitdiff
path: root/net/libunp
diff options
context:
space:
mode:
authorHajimu UMEMOTO <ume@FreeBSD.org>2003-10-29 16:25:23 +0000
committerHajimu UMEMOTO <ume@FreeBSD.org>2003-10-29 16:25:23 +0000
commitaf6d6ef44301138b8c84d89faf790308d8f31d56 (patch)
treeff2ea9992e8215623ec20b39f3e8336a1c5a00f2 /net/libunp
parent8d87a71c306d0c7335af7421c61d540b8110511d (diff)
downloadports-af6d6ef44301138b8c84d89faf790308d8f31d56.tar.gz
ports-af6d6ef44301138b8c84d89faf790308d8f31d56.zip
fix build on 5-CURRENT after RFC3542 change (EAI_ADDRFAMILY and
EAI_NODATA were obsoleted). There is some issue; we have EAI_NODATA as an alias of EAI_NONAME for workaround. However, some of these ports use it as a case label of switch. Since our alias broke such code, we may better to consider deleting such alias. Requested by: kris Approved by: portmgr (kris) (implicitly)
Notes
Notes: svn path=/head/; revision=92577
Diffstat (limited to 'net/libunp')
-rw-r--r--net/libunp/files/patch-at18
1 files changed, 18 insertions, 0 deletions
diff --git a/net/libunp/files/patch-at b/net/libunp/files/patch-at
new file mode 100644
index 000000000000..25f4146ab45b
--- /dev/null
+++ b/net/libunp/files/patch-at
@@ -0,0 +1,18 @@
+Index: libgai/unp.h
+diff -u libgai/unp.h.orig libgai/unp.h
+--- libgai/unp.h.orig Mon Sep 15 04:49:59 1997
++++ libgai/unp.h Thu Oct 30 00:31:12 2003
+@@ -58,6 +58,13 @@
+ # include <pthread.h>
+ #endif
+
++#ifndef EAI_ADDRFAMILY
++#define EAI_ADDRFAMILY 1
++#endif
++#ifndef EAI_NODATA
++#define EAI_NODATA 7
++#endif
++
+ /* OSF/1 actually disables recv() and send() in <sys/socket.h> */
+ #ifdef __osf__
+ #undef recv