From d22b775eb85ee7e10f742d6eb837d0c46dd6a488 Mon Sep 17 00:00:00 2001 From: Dan Theisen Date: Fri, 6 Jul 2018 01:33:09 -0700 Subject: user/iputils: import, take, fix up --- user/iputils/fix-idn.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 user/iputils/fix-idn.patch (limited to 'user/iputils/fix-idn.patch') diff --git a/user/iputils/fix-idn.patch b/user/iputils/fix-idn.patch new file mode 100644 index 000000000..4aaae8e82 --- /dev/null +++ b/user/iputils/fix-idn.patch @@ -0,0 +1,14 @@ +--- iputils-s20180629/ping.c.orig 2018-06-29 11:00:46.000000000 -0700 ++++ iputils-s20180629/ping.c 2018-07-06 01:09:10.479830175 -0700 +@@ -207,9 +210,10 @@ + + #ifdef USE_IDN + setlocale(LC_ALL, ""); +-#endif ++ + if (!strcmp(setlocale(LC_ALL, NULL), "C")) + hints.ai_flags &= ~ AI_CANONIDN; ++#endif + + /* Support being called using `ping4` or `ping6` symlinks */ + if (argv[0][strlen(argv[0])-1] == '4') -- cgit v1.2.3-60-g2f50