summaryrefslogtreecommitdiff
path: root/package/systemd/patches/patch-src_basic_socket-util_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-06-15 13:32:13 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2017-06-15 13:32:31 +0200
commitb35ec53d09f67948407a7da174bf9266821b2c4a (patch)
tree26ed3083b21e2425f40f535a4ae7ffa96b58c705 /package/systemd/patches/patch-src_basic_socket-util_c
parentae04c4af5b1a699ddac2069cf241d91e1ee3741f (diff)
systemd: update patch, add locale/ssp requirements
Diffstat (limited to 'package/systemd/patches/patch-src_basic_socket-util_c')
-rw-r--r--package/systemd/patches/patch-src_basic_socket-util_c10
1 files changed, 4 insertions, 6 deletions
diff --git a/package/systemd/patches/patch-src_basic_socket-util_c b/package/systemd/patches/patch-src_basic_socket-util_c
index 87fd0d929..6a47d4d7c 100644
--- a/package/systemd/patches/patch-src_basic_socket-util_c
+++ b/package/systemd/patches/patch-src_basic_socket-util_c
@@ -1,14 +1,12 @@
--- systemd-233.orig/src/basic/socket-util.c 2017-03-01 22:43:06.000000000 +0100
-+++ systemd-233/src/basic/socket-util.c 2017-06-08 22:45:25.000391693 +0200
++++ systemd-233/src/basic/socket-util.c 2017-06-15 08:42:17.623845703 +0200
@@ -723,8 +723,12 @@ int socknameinfo_pretty(union sockaddr_u
assert(_ret);
-- r = getnameinfo(&sa->sa, salen, host, sizeof(host), NULL, 0,
-- NI_IDN|NI_IDN_USE_STD3_ASCII_RULES);
-+#ifdef HAVE_LIBIDN
-+ r = getnameinfo(&sa->sa, salen, host, sizeof(host), NULL, 0,
-+ NI_IDN|NI_IDN_USE_STD3_ASCII_RULES);
++#ifdef HAVE_IDN
+ r = getnameinfo(&sa->sa, salen, host, sizeof(host), NULL, 0,
+ NI_IDN|NI_IDN_USE_STD3_ASCII_RULES);
+#else
+ r = getnameinfo(&sa->sa, salen, host, sizeof(host), NULL, 0, 0);
+#endif