summaryrefslogtreecommitdiff
path: root/package/swupdate
diff options
context:
space:
mode:
authorJörg Krause <joerg.krause@embedded.rocks>2015-10-19 22:45:27 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-10-19 23:02:56 +0200
commitb14269ea4f34c741c29f1c58e825b5ef2a399e0c (patch)
tree137f5a42c5cf81eafcefe8a58050b55c3d5a922d /package/swupdate
parenta8cc6eeec5a665db5689083312beef14a9afbafa (diff)
package/swupdate: add patch to fix link error for CONFIG_UBOOT and missing libz
CONFIG_UBOOT needs libz [1]. So CONFIG_UBOUT mustn't be available when HAVE_ZLIB=n. Add patch from upstream to fix a link error for CONFIG_UBOOT and missing libz. Note, that this link error does not affect the default config provided by Buildroot. [1] https://github.com/sbabic/swupdate/commit/cf495e23ad117f4cae9c429e80714fe9c18f2d6a [Thomas: use a single <pkg>_PATCH variable.] Reported-by: Romain Naour <romain.naour@openwide.fr> Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/swupdate')
-rw-r--r--package/swupdate/swupdate.hash1
-rw-r--r--package/swupdate/swupdate.mk4
2 files changed, 4 insertions, 1 deletions
diff --git a/package/swupdate/swupdate.hash b/package/swupdate/swupdate.hash
index 057cf84c2..96ebedf82 100644
--- a/package/swupdate/swupdate.hash
+++ b/package/swupdate/swupdate.hash
@@ -1,3 +1,4 @@
# Locally calculated
sha256 1410f8967aad0f4d3b4561110dbfb2c1f8e337bdc332f6b120f4995762c8bf6b swupdate-2015.07.tar.gz
sha256 ec633171e6a893506fad6b96fb2b258d60a023c03be5520b968a1d5cc6bafe6e c3467290925b2a833a68d9db12c198fdca752e32.patch
+sha256 6cffe115cad73c0d1095f7880b6d2b97fc12b7f7871f532e5b33717e863f03d7 5a5ef5909f5da5b2070d58ffaee924bb8e6a51e1.patch
diff --git a/package/swupdate/swupdate.mk b/package/swupdate/swupdate.mk
index 8a201937d..68f6e2cea 100644
--- a/package/swupdate/swupdate.mk
+++ b/package/swupdate/swupdate.mk
@@ -8,7 +8,9 @@ SWUPDATE_VERSION = 2015.07
SWUPDATE_SITE = $(call github,sbabic,swupdate,$(SWUPDATE_VERSION))
SWUPDATE_LICENSE = GPLv2+, MIT, Public Domain
SWUPDATE_LICENSE_FILES = COPYING
-SWUPDATE_PATCH = https://github.com/sbabic/swupdate/commit/c3467290925b2a833a68d9db12c198fdca752e32.patch
+SWUPDATE_PATCH = \
+ https://github.com/sbabic/swupdate/commit/c3467290925b2a833a68d9db12c198fdca752e32.patch \
+ https://github.com/sbabic/swupdate/commit/5a5ef5909f5da5b2070d58ffaee924bb8e6a51e1.patch
# swupdate bundles its own version of mongoose (version 3.8) and
# lsqlite3 (version 0.8)