Mercurial > vanilla
diff network/iputils/patch-ping.c.patch @ 648:e7bebea8c0eb
network/iputils: actually does not build with IDN
author | David Demelier <markand@malikania.fr> |
---|---|
date | Sat, 27 Jul 2019 14:06:29 +0200 |
parents | network/iputils/fix-defines.patch@96cc0131586a |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/network/iputils/patch-ping.c.patch Sat Jul 27 14:06:29 2019 +0200 @@ -0,0 +1,13 @@ +--- a/ping.h ++++ b/ping.h +@@ -44,6 +44,10 @@ + #define getnameinfo_flags 0 + #endif + ++#ifndef AI_CANONIDN ++#define AI_CANONIDN 0x0080 ++#endif ++ + #ifndef WITHOUT_IFADDRS + #include <ifaddrs.h> + #endif