diff options
| -rw-r--r-- | meta-networking/recipes-support/ipsec-tools/ipsec-tools/glibc-2.20.patch | 23 | ||||
| -rw-r--r-- | meta-networking/recipes-support/ipsec-tools/ipsec-tools_0.8.2.bb | 1 |
2 files changed, 24 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 0000000000..36efc49179 --- /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> | ||
diff --git a/meta-networking/recipes-support/ipsec-tools/ipsec-tools_0.8.2.bb b/meta-networking/recipes-support/ipsec-tools/ipsec-tools_0.8.2.bb index 208268f838..babce4060a 100644 --- a/meta-networking/recipes-support/ipsec-tools/ipsec-tools_0.8.2.bb +++ b/meta-networking/recipes-support/ipsec-tools/ipsec-tools_0.8.2.bb | |||
| @@ -13,6 +13,7 @@ SRC_URI = "ftp://ftp.netbsd.org/pub/NetBSD/misc/ipsec-tools/0.8/ipsec-tools-${PV | |||
| 13 | file://0001-racoon-pfkey-avoid-potential-null-pointer-dereferenc.patch \ | 13 | file://0001-racoon-pfkey-avoid-potential-null-pointer-dereferenc.patch \ |
| 14 | file://racoon-check-invalid-pointers.patch \ | 14 | file://racoon-check-invalid-pointers.patch \ |
| 15 | file://racoon-check-invalid-ivm.patch \ | 15 | file://racoon-check-invalid-ivm.patch \ |
| 16 | file://glibc-2.20.patch \ | ||
| 16 | " | 17 | " |
| 17 | SRC_URI[md5sum] = "d53ec14a0a3ece64e09e5e34b3350b41" | 18 | SRC_URI[md5sum] = "d53ec14a0a3ece64e09e5e34b3350b41" |
| 18 | SRC_URI[sha256sum] = "8eb6b38716e2f3a8a72f1f549c9444c2bc28d52c9536792690564c74fe722f2d" | 19 | SRC_URI[sha256sum] = "8eb6b38716e2f3a8a72f1f549c9444c2bc28d52c9536792690564c74fe722f2d" |
