diff options
Diffstat (limited to 'meta/recipes-core/systemd/systemd/0019-socket-util-don-t-fail-if-libc-doesn-t-support-IDN.patch')
-rw-r--r-- | meta/recipes-core/systemd/systemd/0019-socket-util-don-t-fail-if-libc-doesn-t-support-IDN.patch | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/meta/recipes-core/systemd/systemd/0019-socket-util-don-t-fail-if-libc-doesn-t-support-IDN.patch b/meta/recipes-core/systemd/systemd/0019-socket-util-don-t-fail-if-libc-doesn-t-support-IDN.patch index 66aa4cab84..b609276201 100644 --- a/meta/recipes-core/systemd/systemd/0019-socket-util-don-t-fail-if-libc-doesn-t-support-IDN.patch +++ b/meta/recipes-core/systemd/systemd/0019-socket-util-don-t-fail-if-libc-doesn-t-support-IDN.patch | |||
@@ -1,18 +1,19 @@ | |||
1 | From 289554d87e4fd96cae08c0fb449bf41d5641cd24 Mon Sep 17 00:00:00 2001 | 1 | From b7c6bfe2ec5ae426e586e1d6ecadb52a97128a3f Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Wed, 9 Nov 2016 20:49:53 -0800 | 3 | Date: Wed, 9 Nov 2016 20:49:53 -0800 |
4 | Subject: [PATCH 19/19] socket-util: don't fail if libc doesn't support IDN | 4 | Subject: [PATCH 13/14] socket-util: don't fail if libc doesn't support IDN |
5 | 5 | ||
6 | Upstream-Status: Pending | 6 | Upstream-Status: Pending |
7 | 7 | ||
8 | Signed-off-by: Emil Renner Berthing <systemd@esmil.dk> | 8 | Signed-off-by: Emil Renner Berthing <systemd@esmil.dk> |
9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
10 | |||
10 | --- | 11 | --- |
11 | src/basic/socket-util.c | 9 +++++++++ | 12 | src/basic/socket-util.c | 9 +++++++++ |
12 | 1 file changed, 9 insertions(+) | 13 | 1 file changed, 9 insertions(+) |
13 | 14 | ||
14 | diff --git a/src/basic/socket-util.c b/src/basic/socket-util.c | 15 | diff --git a/src/basic/socket-util.c b/src/basic/socket-util.c |
15 | index 4ebf106..53b9a12 100644 | 16 | index 016e64aa0..d4658826e 100644 |
16 | --- a/src/basic/socket-util.c | 17 | --- a/src/basic/socket-util.c |
17 | +++ b/src/basic/socket-util.c | 18 | +++ b/src/basic/socket-util.c |
18 | @@ -47,6 +47,15 @@ | 19 | @@ -47,6 +47,15 @@ |
@@ -29,8 +30,8 @@ index 4ebf106..53b9a12 100644 | |||
29 | +#define NI_IDN_USE_STD3_ASCII_RULES 0 | 30 | +#define NI_IDN_USE_STD3_ASCII_RULES 0 |
30 | +#endif | 31 | +#endif |
31 | 32 | ||
32 | int socket_address_parse(SocketAddress *a, const char *s) { | 33 | #ifdef ENABLE_IDN |
33 | char *e, *n; | 34 | # define IDN_FLAGS (NI_IDN|NI_IDN_USE_STD3_ASCII_RULES) |
34 | -- | 35 | -- |
35 | 2.10.2 | 36 | 2.13.2 |
36 | 37 | ||