diff options
author | Khem Raj <raj.khem@gmail.com> | 2015-08-21 23:26:38 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-08-30 12:35:53 +0100 |
commit | 646a29c3dab7f18d03da8c966ce55d8a09483c0e (patch) | |
tree | 870c3153ab33698312eea912da7dc618f2fd2b2d /meta/recipes-devtools/json-c/json-c_0.12.bb | |
parent | 00536009bdf5b4df2fefe64c2eee4db3bdef3150 (diff) | |
download | poky-646a29c3dab7f18d03da8c966ce55d8a09483c0e.tar.gz |
json-c: Include math_compat.c for NAN/INF values
The backport patch also fixes the warning which was being work arounded
by disabling unused-but-set-variable
(From OE-Core rev: ebce241d0badff0a12b4c03a428720e0b4a59f32)
(From OE-Core rev: 3f757eb71d69a763a33540b1a590db1926c25408)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/json-c/json-c_0.12.bb')
-rw-r--r-- | meta/recipes-devtools/json-c/json-c_0.12.bb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-devtools/json-c/json-c_0.12.bb b/meta/recipes-devtools/json-c/json-c_0.12.bb index e9c5b31745..cfef03d2e8 100644 --- a/meta/recipes-devtools/json-c/json-c_0.12.bb +++ b/meta/recipes-devtools/json-c/json-c_0.12.bb | |||
@@ -4,7 +4,9 @@ HOMEPAGE = "https://github.com/json-c/json-c/wiki" | |||
4 | LICENSE = "MIT" | 4 | LICENSE = "MIT" |
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=de54b60fbbc35123ba193fea8ee216f2" | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=de54b60fbbc35123ba193fea8ee216f2" |
6 | 6 | ||
7 | SRC_URI = "https://s3.amazonaws.com/json-c_releases/releases/${BP}.tar.gz" | 7 | SRC_URI = "https://s3.amazonaws.com/json-c_releases/releases/${BP}.tar.gz \ |
8 | file://0001-json_tokener-requires-INF-and-NAN.patch \ | ||
9 | " | ||
8 | 10 | ||
9 | SRC_URI[md5sum] = "3ca4bbb881dfc4017e8021b5e0a8c491" | 11 | SRC_URI[md5sum] = "3ca4bbb881dfc4017e8021b5e0a8c491" |
10 | SRC_URI[sha256sum] = "000c01b2b3f82dcb4261751eb71f1b084404fb7d6a282f06074d3c17078b9f3f" | 12 | SRC_URI[sha256sum] = "000c01b2b3f82dcb4261751eb71f1b084404fb7d6a282f06074d3c17078b9f3f" |
@@ -17,5 +19,3 @@ do_configure_prepend() { | |||
17 | # Clean up autoconf cruft that should not be in the tarball | 19 | # Clean up autoconf cruft that should not be in the tarball |
18 | rm -f ${S}/config.status | 20 | rm -f ${S}/config.status |
19 | } | 21 | } |
20 | |||
21 | CFLAGS += "-Wno-error=unused-but-set-variable" | ||