From 4f11de1a60064c91245411c06771141c90ca67c6 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Thu, 15 Dec 2016 19:08:59 +0100 Subject: [PATCH] cjson: fix error with sh4a and powerpc Fixes: - http://autobuild.buildroot.net/results/3d899790acdc5c21733ff6f7f5a1b500e862ea0a Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- package/cjson/cjson.hash | 1 + package/cjson/cjson.mk | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/package/cjson/cjson.hash b/package/cjson/cjson.hash index 4f0723a510..fc0ed28df6 100644 --- a/package/cjson/cjson.hash +++ b/package/cjson/cjson.hash @@ -1,2 +1,3 @@ # Locally computed: sha256 3487795d54440bdbd41b4b8e7688889526f2f9a652639f6036b9965016c800e7 cjson-v1.1.0.tar.gz +sha256 8eea780ee5729275a5076002d92a4c7854ecb89968b26a81efeb5bd9828268a0 fcc89c4bb264d665929b00eeebc479a643a90896.patch diff --git a/package/cjson/cjson.mk b/package/cjson/cjson.mk index 3dd6ebc77a..7ac7a71dcc 100644 --- a/package/cjson/cjson.mk +++ b/package/cjson/cjson.mk @@ -10,4 +10,10 @@ CJSON_INSTALL_STAGING = YES CJSON_LICENSE = MIT CJSON_LICENSE_FILES = LICENSE +# This patch fixes -Werror=strict-overflow compile errors on sh4a and powerpc +# toolchains: +# http://autobuild.buildroot.net/results/3d899790acdc5c21733ff6f7f5a1b500e862ea0a +CJSON_PATCH = \ + https://github.com/DaveGamble/cjson/commit/fcc89c4bb264d665929b00eeebc479a643a90896.patch + $(eval $(cmake-package)) -- 2.30.2