diff options
author | Khem Raj <raj.khem@gmail.com> | 2017-09-06 18:09:07 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-12-09 14:34:36 +0000 |
commit | ddd1da619d7f10dba4af6a4b83d8f18e0d63e871 (patch) | |
tree | 3a6fc961a7e492c2ac364d25fc525a63b9ec6f76 /meta | |
parent | 3fd818655a6d138a76b262f5c389fed375343a2e (diff) | |
download | poky-ddd1da619d7f10dba4af6a4b83d8f18e0d63e871.tar.gz |
nspr: Fix build error due to missing stdint.h> include
(From OE-Core rev: 2f95c71ba17a6d68d3805efe82097c10b6740244)
(From OE-Core rev: 4e257a7429e1a7525c1939d4f011e938d4ca32b1)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-support/nspr/nspr/0001-include-stdint.h-for-SSIZE_MAX-and-SIZE_MAX-definiti.patch | 30 | ||||
-rw-r--r-- | meta/recipes-support/nspr/nspr_4.12.bb | 1 |
2 files changed, 31 insertions, 0 deletions
diff --git a/meta/recipes-support/nspr/nspr/0001-include-stdint.h-for-SSIZE_MAX-and-SIZE_MAX-definiti.patch b/meta/recipes-support/nspr/nspr/0001-include-stdint.h-for-SSIZE_MAX-and-SIZE_MAX-definiti.patch new file mode 100644 index 0000000000..b3bdd8e08d --- /dev/null +++ b/meta/recipes-support/nspr/nspr/0001-include-stdint.h-for-SSIZE_MAX-and-SIZE_MAX-definiti.patch | |||
@@ -0,0 +1,30 @@ | |||
1 | From f7551ec58e2f0a892295e0c2a650083101e12c54 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Sat, 20 May 2017 13:24:26 -0700 | ||
4 | Subject: [PATCH] include stdint.h for SSIZE_MAX and SIZE_MAX definitions | ||
5 | |||
6 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
7 | --- | ||
8 | Upstream-Status: Pending | ||
9 | |||
10 | pr/tests/prfz.c | 4 +++- | ||
11 | 1 file changed, 3 insertions(+), 1 deletion(-) | ||
12 | |||
13 | diff --git a/pr/tests/prfz.c b/pr/tests/prfz.c | ||
14 | index 0c5a432..9c17590 100644 | ||
15 | --- a/pr/tests/prfz.c | ||
16 | +++ b/pr/tests/prfz.c | ||
17 | @@ -10,7 +10,9 @@ | ||
18 | #include <sys/types.h> | ||
19 | #include <limits.h> | ||
20 | #include <string.h> | ||
21 | - | ||
22 | +#ifdef XP_UNIX | ||
23 | +#include <stdint.h> | ||
24 | +#endif | ||
25 | int | ||
26 | main(int argc, char **argv) | ||
27 | { | ||
28 | -- | ||
29 | 2.13.0 | ||
30 | |||
diff --git a/meta/recipes-support/nspr/nspr_4.12.bb b/meta/recipes-support/nspr/nspr_4.12.bb index 9345a51f39..5f5daf4a4b 100644 --- a/meta/recipes-support/nspr/nspr_4.12.bb +++ b/meta/recipes-support/nspr/nspr_4.12.bb | |||
@@ -10,6 +10,7 @@ SRC_URI = "http://ftp.mozilla.org/pub/nspr/releases/v${PV}/src/nspr-${PV}.tar.gz | |||
10 | file://fix-build-on-x86_64.patch \ | 10 | file://fix-build-on-x86_64.patch \ |
11 | file://remove-srcdir-from-configure-in.patch \ | 11 | file://remove-srcdir-from-configure-in.patch \ |
12 | file://0002-Add-nios2-support.patch \ | 12 | file://0002-Add-nios2-support.patch \ |
13 | file://0001-include-stdint.h-for-SSIZE_MAX-and-SIZE_MAX-definiti.patch \ | ||
13 | file://nspr.pc.in \ | 14 | file://nspr.pc.in \ |
14 | " | 15 | " |
15 | 16 | ||