diff options
Diffstat (limited to 'catalyst/portage_overlay/uclibc/sys-libs/uclibc/files/uclibc-0.9.28.3-netdb.h.patch')
-rw-r--r-- | catalyst/portage_overlay/uclibc/sys-libs/uclibc/files/uclibc-0.9.28.3-netdb.h.patch | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/catalyst/portage_overlay/uclibc/sys-libs/uclibc/files/uclibc-0.9.28.3-netdb.h.patch b/catalyst/portage_overlay/uclibc/sys-libs/uclibc/files/uclibc-0.9.28.3-netdb.h.patch new file mode 100644 index 0000000..a6f26ad --- /dev/null +++ b/catalyst/portage_overlay/uclibc/sys-libs/uclibc/files/uclibc-0.9.28.3-netdb.h.patch @@ -0,0 +1,42 @@ +diff -Nrup uClibc-0.9.28.3.orig/include/netdb.h uClibc-0.9.28.3/include/netdb.h +--- uClibc-0.9.28.3.orig/include/netdb.h 2004-09-08 05:07:17.000000000 +0200 ++++ uClibc-0.9.28.3/include/netdb.h 2008-01-01 17:18:16.000000000 +0100 +@@ -401,6 +401,9 @@ struct addrinfo + # define AI_PASSIVE 0x0001 /* Socket address is intended for `bind'. */ + # define AI_CANONNAME 0x0002 /* Request for canonical name. */ + # define AI_NUMERICHOST 0x0004 /* Don't use name resolution. */ ++# define AI_V4MAPPED 0x0008 /* IPv4 mapped addresses are acceptable. */ ++# define AI_ALL 0x0010 /* Return IPv4 mapped and IPv6 addresses. */ ++# define AI_ADDRCONFIG 0x0020 /* Use configuration of this host to choose + + /* Error values for `getaddrinfo' function. */ + # define EAI_BADFLAGS -1 /* Invalid value for `ai_flags' field. */ +@@ -414,12 +417,14 @@ struct addrinfo + # define EAI_ADDRFAMILY -9 /* Address family for NAME not supported. */ + # define EAI_MEMORY -10 /* Memory allocation failure. */ + # define EAI_SYSTEM -11 /* System error returned in `errno'. */ ++# define EAI_OVERFLOW -12 /* Argument buffer overflow. */ + # ifdef __USE_GNU + # define EAI_INPROGRESS -100 /* Processing request in progress. */ + # define EAI_CANCELED -101 /* Request canceled. */ + # define EAI_NOTCANCELED -102 /* Request not canceled. */ + # define EAI_ALLDONE -103 /* All requests done. */ + # define EAI_INTR -104 /* Interrupted by a signal. */ ++# define EAI_IDN_ENCODE -105 /* IDN encoding failed. */ + # endif + + # define NI_MAXHOST 1025 +@@ -430,6 +435,13 @@ struct addrinfo + # define NI_NOFQDN 4 /* Only return nodename portion. */ + # define NI_NAMEREQD 8 /* Don't return numeric addresses. */ + # define NI_DGRAM 16 /* Look up UDP service rather than TCP. */ ++# ifdef __USE_GNU ++# define NI_IDN 32 /* Convert name from IDN format. */ ++# define NI_IDN_ALLOW_UNASSIGNED 64 /* Don't reject unassigned Unicode ++ code points. */ ++# define NI_IDN_USE_STD3_ASCII_RULES 128 /* Validate strings according to ++ STD3 rules. */ ++# endif + + /* Translate name of a service location and/or a service name to set of + socket addresses. */ |