diff options
author | Dan Theisen <djt@hxx.in> | 2018-07-06 01:33:09 -0700 |
---|---|---|
committer | Dan Theisen <djt@hxx.in> | 2018-07-06 02:34:42 -0700 |
commit | d22b775eb85ee7e10f742d6eb837d0c46dd6a488 (patch) | |
tree | dac57c65528c7a508261374b80c44b6ebe66fe1e /user/iputils/fix-idn.patch | |
parent | a5083dfca971c696dcb9f3d6d43ac24e446a05bf (diff) | |
download | packages-d22b775eb85ee7e10f742d6eb837d0c46dd6a488.tar.gz packages-d22b775eb85ee7e10f742d6eb837d0c46dd6a488.tar.bz2 packages-d22b775eb85ee7e10f742d6eb837d0c46dd6a488.tar.xz packages-d22b775eb85ee7e10f742d6eb837d0c46dd6a488.zip |
user/iputils: import, take, fix up
Diffstat (limited to 'user/iputils/fix-idn.patch')
-rw-r--r-- | user/iputils/fix-idn.patch | 14 |
1 files changed, 14 insertions, 0 deletions
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') |