summaryrefslogtreecommitdiff
path: root/package/systemd/patches
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-02-09 02:47:11 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2017-02-09 02:49:18 +0100
commitfdfd165799d762acd6cf5871bfcb1493da1359e9 (patch)
treec359e2327241dce4c6a237ff4b61f89b1907a2b0 /package/systemd/patches
parent68a2f573ea13d6e028c5eba43bde813c6994f080 (diff)
systemd: enable for uClibc-ng
Patch out IDN usage. libidn will be removed from GNU C library in the future, so we don't add it to uClibc-ng getnameinfo(). libkmod can't be activated when PKG_BB is 1 for kmod package.
Diffstat (limited to 'package/systemd/patches')
-rw-r--r--package/systemd/patches/patch-src_basic_socket-util_c12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/systemd/patches/patch-src_basic_socket-util_c b/package/systemd/patches/patch-src_basic_socket-util_c
new file mode 100644
index 000000000..78d871695
--- /dev/null
+++ b/package/systemd/patches/patch-src_basic_socket-util_c
@@ -0,0 +1,12 @@
+--- systemd-232.orig/src/basic/socket-util.c 2016-11-03 18:16:42.000000000 +0100
++++ systemd-232/src/basic/socket-util.c 2017-02-07 04:55:53.976146036 +0100
+@@ -657,8 +657,7 @@ 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);
++ r = getnameinfo(&sa->sa, salen, host, sizeof(host), NULL, 0, 0);
+ if (r != 0) {
+ int saved_errno = errno;
+