json-c: add patch to make sure the library is linked against libm when needed
commit4e99abc47511c2f0bc3b5a7da9e877aba6a84b9f
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 1 May 2015 10:59:37 +0000 (1 12:59 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 1 May 2015 11:02:01 +0000 (1 13:02 +0200)
tree9e9c0a565b6131b1fbba6d0569fcb1cad4ea5fd7
parentf431f5540e4c8bf250df820e59e106cf83f2d44d
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 <thomas.petazzoni@free-electrons.com>
package/json-c/0001-don-t-threat-warnings-as-errors.patch
package/json-c/0002-Link-against-libm-when-needed.patch [new file with mode: 0644]