diff options
Diffstat (limited to 'meta/recipes-core/systemd/systemd/0001-Use-getenv-when-secure-versions-are-not-available.patch')
-rw-r--r-- | meta/recipes-core/systemd/systemd/0001-Use-getenv-when-secure-versions-are-not-available.patch | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/meta/recipes-core/systemd/systemd/0001-Use-getenv-when-secure-versions-are-not-available.patch b/meta/recipes-core/systemd/systemd/0001-Use-getenv-when-secure-versions-are-not-available.patch index 03f6ead131..37979755d0 100644 --- a/meta/recipes-core/systemd/systemd/0001-Use-getenv-when-secure-versions-are-not-available.patch +++ b/meta/recipes-core/systemd/systemd/0001-Use-getenv-when-secure-versions-are-not-available.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 6dd136512896979feb6883a16226d640a7e5ca74 Mon Sep 17 00:00:00 2001 | 1 | From b8055a61b5df6b43b8d3117936587b874b0a339b Mon Sep 17 00:00:00 2001 |
2 | From: Chen Qi <Qi.Chen@windriver.com> | 2 | From: Chen Qi <Qi.Chen@windriver.com> |
3 | Date: Fri, 23 Feb 2018 10:04:48 +0800 | 3 | Date: Mon, 25 Feb 2019 11:01:18 +0800 |
4 | Subject: [PATCH 01/19] Use getenv when secure versions are not available | 4 | Subject: [PATCH 01/24] Use getenv when secure versions are not available |
5 | 5 | ||
6 | musl doesnt implement secure version, so we default | 6 | musl doesnt implement secure version, so we default |
7 | to it if configure does not detect a secure implementation | 7 | to it if configure does not detect a secure implementation |
@@ -12,14 +12,14 @@ Upstream-Status: Denied | |||
12 | 12 | ||
13 | Signed-off-by: Chen Qi <Qi.Chen@windriver.com> | 13 | Signed-off-by: Chen Qi <Qi.Chen@windriver.com> |
14 | --- | 14 | --- |
15 | src/basic/missing.h | 2 +- | 15 | src/basic/missing_stdlib.h | 2 +- |
16 | 1 file changed, 1 insertion(+), 1 deletion(-) | 16 | 1 file changed, 1 insertion(+), 1 deletion(-) |
17 | 17 | ||
18 | diff --git a/src/basic/missing.h b/src/basic/missing.h | 18 | diff --git a/src/basic/missing_stdlib.h b/src/basic/missing_stdlib.h |
19 | index 71a07d057..0e33abb9f 100644 | 19 | index 188a8d4..c0ffe86 100644 |
20 | --- a/src/basic/missing.h | 20 | --- a/src/basic/missing_stdlib.h |
21 | +++ b/src/basic/missing.h | 21 | +++ b/src/basic/missing_stdlib.h |
22 | @@ -592,7 +592,7 @@ struct btrfs_ioctl_quota_ctl_args { | 22 | @@ -8,6 +8,6 @@ |
23 | # if HAVE___SECURE_GETENV | 23 | # if HAVE___SECURE_GETENV |
24 | # define secure_getenv __secure_getenv | 24 | # define secure_getenv __secure_getenv |
25 | # else | 25 | # else |
@@ -27,7 +27,6 @@ index 71a07d057..0e33abb9f 100644 | |||
27 | +# define secure_getenv getenv | 27 | +# define secure_getenv getenv |
28 | # endif | 28 | # endif |
29 | #endif | 29 | #endif |
30 | |||
31 | -- | 30 | -- |
32 | 2.11.0 | 31 | 2.7.4 |
33 | 32 | ||