summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/json-c/json-c_0.12.bb
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2015-08-21 23:26:38 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-08-30 12:35:53 +0100
commit646a29c3dab7f18d03da8c966ce55d8a09483c0e (patch)
tree870c3153ab33698312eea912da7dc618f2fd2b2d /meta/recipes-devtools/json-c/json-c_0.12.bb
parent00536009bdf5b4df2fefe64c2eee4db3bdef3150 (diff)
downloadpoky-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.bb6
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"
4LICENSE = "MIT" 4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://COPYING;md5=de54b60fbbc35123ba193fea8ee216f2" 5LIC_FILES_CHKSUM = "file://COPYING;md5=de54b60fbbc35123ba193fea8ee216f2"
6 6
7SRC_URI = "https://s3.amazonaws.com/json-c_releases/releases/${BP}.tar.gz" 7SRC_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
9SRC_URI[md5sum] = "3ca4bbb881dfc4017e8021b5e0a8c491" 11SRC_URI[md5sum] = "3ca4bbb881dfc4017e8021b5e0a8c491"
10SRC_URI[sha256sum] = "000c01b2b3f82dcb4261751eb71f1b084404fb7d6a282f06074d3c17078b9f3f" 12SRC_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
21CFLAGS += "-Wno-error=unused-but-set-variable"