diff options
author | Khem Raj <raj.khem@gmail.com> | 2014-09-04 00:32:33 -0700 |
---|---|---|
committer | Joe MacDonald <joe_macdonald@mentor.com> | 2014-09-08 16:57:26 -0400 |
commit | fd83e4e7a19967a0605cc5af6387b61d1320ab9c (patch) | |
tree | 0297202e2f25d9b55d2a11f67b4b55377996fd22 /meta-networking/recipes-support/ipsec-tools/ipsec-tools | |
parent | ab6a7fa8dd79754b7c464d6637ce8ce62eb7af7e (diff) | |
download | meta-openembedded-fd83e4e7a19967a0605cc5af6387b61d1320ab9c.tar.gz |
ipsec-tools: Fix build with glibc 2.20
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Diffstat (limited to 'meta-networking/recipes-support/ipsec-tools/ipsec-tools')
-rw-r--r-- | meta-networking/recipes-support/ipsec-tools/ipsec-tools/glibc-2.20.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/ipsec-tools/ipsec-tools/glibc-2.20.patch b/meta-networking/recipes-support/ipsec-tools/ipsec-tools/glibc-2.20.patch new file mode 100644 index 000000000..36efc4917 --- /dev/null +++ b/meta-networking/recipes-support/ipsec-tools/ipsec-tools/glibc-2.20.patch | |||
@@ -0,0 +1,23 @@ | |||
1 | squahes below warning | ||
2 | warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ||
3 | |||
4 | Seen with glibc 2.20 | ||
5 | |||
6 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
7 | Upstream-Status: Pending | ||
8 | Index: ipsec-tools-0.8.2/src/include-glibc/glibc-bugs.h | ||
9 | =================================================================== | ||
10 | --- ipsec-tools-0.8.2.orig/src/include-glibc/glibc-bugs.h 2006-09-09 09:22:08.000000000 -0700 | ||
11 | +++ ipsec-tools-0.8.2/src/include-glibc/glibc-bugs.h 2014-09-03 22:27:22.551563888 -0700 | ||
12 | @@ -4,7 +4,11 @@ | ||
13 | #define __GLIBC_BUGS_H__ 1 | ||
14 | |||
15 | #define _XOPEN_SOURCE 500 | ||
16 | +/* Legacy feature macro.*/ | ||
17 | #define _BSD_SOURCE | ||
18 | +/* New feature macro that provides everything _BSD_SOURCE and | ||
19 | + * _SVID_SOURCE provided and possibly more. */ | ||
20 | +#define _DEFAULT_SOURCE | ||
21 | |||
22 | #include <features.h> | ||
23 | #include <sys/types.h> | ||