diff options
author | Tudor Florea <tudor.florea@enea.com> | 2014-10-16 03:05:19 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2014-10-16 03:05:19 +0200 |
commit | c527fd1f14c27855a37f2e8ac5346ce8d940ced2 (patch) | |
tree | bb002c1fdf011c41dbd2f0927bed23ecb5f83c97 /meta/recipes-core/systemd/systemd/optional_secure_getenv.patch | |
download | poky-c527fd1f14c27855a37f2e8ac5346ce8d940ced2.tar.gz |
initial commit for Enea Linux 4.0-140929daisy-140929
Migrated from the internal git server on the daisy-enea-point-release branch
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta/recipes-core/systemd/systemd/optional_secure_getenv.patch')
-rw-r--r-- | meta/recipes-core/systemd/systemd/optional_secure_getenv.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/meta/recipes-core/systemd/systemd/optional_secure_getenv.patch b/meta/recipes-core/systemd/systemd/optional_secure_getenv.patch new file mode 100644 index 0000000000..2063268246 --- /dev/null +++ b/meta/recipes-core/systemd/systemd/optional_secure_getenv.patch | |||
@@ -0,0 +1,19 @@ | |||
1 | on uclibc secure_getenv is not available | ||
2 | therefore default to using getenv instead | ||
3 | |||
4 | Upstream-Status: Denied [no desire for uclibc support] | ||
5 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
6 | |||
7 | Index: git/src/shared/missing.h | ||
8 | =================================================================== | ||
9 | --- git.orig/src/shared/missing.h 2012-09-22 18:46:44.141282145 -0700 | ||
10 | +++ git/src/shared/missing.h 2012-09-22 18:48:44.081276570 -0700 | ||
11 | @@ -233,6 +233,8 @@ | ||
12 | #ifndef HAVE_SECURE_GETENV | ||
13 | # ifdef HAVE___SECURE_GETENV | ||
14 | # define secure_getenv __secure_getenv | ||
15 | +# elif defined __UCLIBC__ | ||
16 | +# define secure_getenv getenv | ||
17 | # else | ||
18 | # error neither secure_getenv nor __secure_getenv are available | ||
19 | # endif | ||