swupdate: fix build without json-c
authorBaruch Siach <baruch@tkos.co.il>
Fri, 2 Jun 2017 04:55:23 +0000 (07:55 +0300)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 2 Jun 2017 06:41:32 +0000 (08:41 +0200)
commit7d8dd2a5d23cfc6d3e71081a09634595837313c2
treeb803216066d58003cf9319131d0559d1db4250ac
parent3294a594cfcd121832e1b7c0e71067607a453e63
swupdate: fix build without json-c

swupdate enables SURICATTA_HAWKBIT by default, which unconditionally selects
JSON. This breaks the build when the optional json-c dependency is not built.
Add a patch fixing SURICATTA_HAWKBIT dependencies.

Fixes:
http://autobuild.buildroot.net/results/e61/e6179f515589a42a9aee16b54b897ef9111e7f4b/
http://autobuild.buildroot.net/results/dba/dba54b00c81f62d957a8c189dde39ba0db8864e6/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/swupdate/0001-suricata_hawkbit-depends-on-HAVE_JSON_C.patch [new file with mode: 0644]