diff options
author | Khem Raj <raj.khem@gmail.com> | 2017-06-27 19:08:09 -0700 |
---|---|---|
committer | Joe MacDonald <joe_macdonald@mentor.com> | 2017-09-08 16:38:07 -0400 |
commit | 5b805b4597aff2d0992ca62b9c8770f25948e20d (patch) | |
tree | 567503b57e6ea61172f58d7ec46f2a46bf2792bd /meta-networking/recipes-support/strongswan | |
parent | 2d6e1909cdeb983869b7ff7ebd53b37b95d3e4ee (diff) | |
download | meta-openembedded-5b805b4597aff2d0992ca62b9c8770f25948e20d.tar.gz |
strongswan: Include stdint.h for uintptr_t
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Diffstat (limited to 'meta-networking/recipes-support/strongswan')
-rw-r--r-- | meta-networking/recipes-support/strongswan/files/0001-memory.h-Include-stdint.h-for-uintptr_t.patch | 26 | ||||
-rw-r--r-- | meta-networking/recipes-support/strongswan/strongswan_5.5.3.bb | 5 |
2 files changed, 29 insertions, 2 deletions
diff --git a/meta-networking/recipes-support/strongswan/files/0001-memory.h-Include-stdint.h-for-uintptr_t.patch b/meta-networking/recipes-support/strongswan/files/0001-memory.h-Include-stdint.h-for-uintptr_t.patch new file mode 100644 index 000000000..7ebc39818 --- /dev/null +++ b/meta-networking/recipes-support/strongswan/files/0001-memory.h-Include-stdint.h-for-uintptr_t.patch | |||
@@ -0,0 +1,26 @@ | |||
1 | From 2a3ab04bbdc4624792886aa51579eadb427ef99e Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Tue, 27 Jun 2017 07:42:11 -0700 | ||
4 | Subject: [PATCH] memory.h: Include stdint.h for uintptr_t | ||
5 | |||
6 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
7 | --- | ||
8 | src/libstrongswan/utils/utils/memory.h | 2 ++ | ||
9 | 1 file changed, 2 insertions(+) | ||
10 | |||
11 | diff --git a/src/libstrongswan/utils/utils/memory.h b/src/libstrongswan/utils/utils/memory.h | ||
12 | index b978e7c..55aaaf5 100644 | ||
13 | --- a/src/libstrongswan/utils/utils/memory.h | ||
14 | +++ b/src/libstrongswan/utils/utils/memory.h | ||
15 | @@ -22,6 +22,8 @@ | ||
16 | #ifndef MEMORY_H_ | ||
17 | #define MEMORY_H_ | ||
18 | |||
19 | +#include <stdint.h> | ||
20 | + | ||
21 | /** | ||
22 | * Helper function that compares two binary blobs for equality | ||
23 | */ | ||
24 | -- | ||
25 | 2.13.2 | ||
26 | |||
diff --git a/meta-networking/recipes-support/strongswan/strongswan_5.5.3.bb b/meta-networking/recipes-support/strongswan/strongswan_5.5.3.bb index 9215233b1..3fb56bcfe 100644 --- a/meta-networking/recipes-support/strongswan/strongswan_5.5.3.bb +++ b/meta-networking/recipes-support/strongswan/strongswan_5.5.3.bb | |||
@@ -8,8 +8,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" | |||
8 | DEPENDS = "gmp openssl flex-native flex bison-native" | 8 | DEPENDS = "gmp openssl flex-native flex bison-native" |
9 | 9 | ||
10 | SRC_URI = "http://download.strongswan.org/strongswan-${PV}.tar.bz2 \ | 10 | SRC_URI = "http://download.strongswan.org/strongswan-${PV}.tar.bz2 \ |
11 | file://fix-funtion-parameter.patch \ | 11 | file://fix-funtion-parameter.patch \ |
12 | " | 12 | file://0001-memory.h-Include-stdint.h-for-uintptr_t.patch \ |
13 | " | ||
13 | 14 | ||
14 | SRC_URI[md5sum] = "4afffe3c219bb2e04f09510905af836b" | 15 | SRC_URI[md5sum] = "4afffe3c219bb2e04f09510905af836b" |
15 | SRC_URI[sha256sum] = "c5ea54b199174708de11af9b8f4ecf28b5b0743d4bc0e380e741f25b28c0f8d4" | 16 | SRC_URI[sha256sum] = "c5ea54b199174708de11af9b8f4ecf28b5b0743d4bc0e380e741f25b28c0f8d4" |