From 4e99abc47511c2f0bc3b5a7da9e877aba6a84b9f Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Fri, 1 May 2015 12:59:37 +0200 Subject: json-c: add patch to make sure the library is linked against libm when needed On uClibc, a number of symbols such as isnan() are in libm and not libc, so we might need to link against libm. This commit adds a patch to json-c that does this. Fixes: http://autobuild.buildroot.net/results/94d/94dd7f38ae105e7cd2f342d718e27a65edcf3a3d/ Signed-off-by: Thomas Petazzoni --- package/json-c/0001-don-t-threat-warnings-as-errors.patch | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'package/json-c/0001-don-t-threat-warnings-as-errors.patch') diff --git a/package/json-c/0001-don-t-threat-warnings-as-errors.patch b/package/json-c/0001-don-t-threat-warnings-as-errors.patch index f18bf92526..804fb2cd33 100644 --- a/package/json-c/0001-don-t-threat-warnings-as-errors.patch +++ b/package/json-c/0001-don-t-threat-warnings-as-errors.patch @@ -1,7 +1,7 @@ -From e81a30a35107643323950ef6803eddebecb33344 Mon Sep 17 00:00:00 2001 +From 2b4a43a94fb988e344f2d7edc74d6a4a5f64571d Mon Sep 17 00:00:00 2001 From: Sagaert Johan Date: Wed, 15 Apr 2015 00:40:46 +0200 -Subject: [PATCH 1/1] don't threat warnings as errors +Subject: [PATCH] don't threat warnings as errors Signed-off-by: Sagaert Johan --- @@ -9,7 +9,7 @@ Signed-off-by: Sagaert Johan 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am.inc b/Makefile.am.inc -index fec591b..61db1d2 100644 +index fec591b..5eb461e 100644 --- a/Makefile.am.inc +++ b/Makefile.am.inc @@ -1,2 +1,2 @@ @@ -17,5 +17,5 @@ index fec591b..61db1d2 100644 +AM_CFLAGS = -Wall -Wno-error=deprecated-declarations -Wextra -Wwrite-strings -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -- -2.3.3 +2.1.0 -- cgit v1.2.3