Skip to contentSkip to conversation

package/fwup: bump version to 0.14.3

PATCH New Bernd Kuhls 2 participants 2 messages May 28, 2017 – May 31, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/fwup: bump version to 0.14.3

Added patch to fix uclibc build.

---
 package/fwup/0001-Fix-uclibc-build.patch | 36 ++++++++++++++++++++++++++++++++
 package/fwup/fwup.hash                   |  2 +-
 package/fwup/fwup.mk                     |  2 +-
 3 files changed, 38 insertions(+), 2 deletions(-)
 create mode 100644 package/fwup/0001-Fix-uclibc-build.patch
package/fwup/0001-Fix-uclibc-build.patch new file +36 -0
new file mode 100644
index 000000000..f7bf24504
@@ -0,0 +1,36 @@
+From 0301cb4ffbf4705316ba017516745a535d66d552 Mon Sep 17 00:00:00 2001
+From: Bernd Kuhls <[email protected]>
+Date: Sun, 28 May 2017 16:56:39 +0200
+Subject: [PATCH 1/1] Fix uclibc build
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Without sys/types.h the build breaks with errors like this:
+
+parse_file.h:28:5: error: unknown type name ?off_t?
+     off_t *map;
+     ^
+
+Patch sent upstream: https://github.com/fhunleth/fwup/pull/61
+
+Signed-off-by: Bernd Kuhls <[email protected]>
+---
+ src/sparse_file.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/sparse_file.h b/src/sparse_file.h
+index 21bf5f9..579fbaa 100644
+--- a/src/sparse_file.h
++++ b/src/sparse_file.h
+@@ -18,6 +18,7 @@
+ #define SPARSE_FILE_H
+ 
+ #include <confuse.h>
++#include <sys/types.h>
+ 
+ struct sparse_file_map
+ {
+-- 
+2.11.0
+
package/fwup/fwup.hash +1 -1
index e21eff0a6..8679dcb26 100644
@@ -1,2 +1,2 @@
 # Locally calculated
-sha256   64c3a0ac38dc11c0c05b2588a89638cbc37f5552ac0f1c290f7ee5365f2bba49      fwup-v0.8.2.tar.gz
+sha256 cf2e6ff729c21bc000dbe008211cf9d4901be9b42c82a06e4068deb638ea8f6e  fwup-v0.14.3.tar.gz
package/fwup/fwup.mk +1 -1
index 0c2b0f919..e47ecbe6d 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-FWUP_VERSION = v0.8.2
+FWUP_VERSION = v0.14.3
 FWUP_SITE = $(call github,fhunleth,fwup,$(FWUP_VERSION))
 FWUP_LICENSE = Apache-2.0
 FWUP_LICENSE_FILES = LICENSE
Signature · 1 line
2.11.0
#1 lore raw

PATCH 1/1 package/fwup: bump version to 0.14.3

Hello,

Quoted 9 lines · Bernd Kuhls

Added patch to fix uclibc build.

---
 package/fwup/0001-Fix-uclibc-build.patch | 36 ++++++++++++++++++++++++++++++++
 package/fwup/fwup.hash                   |  2 +-
 package/fwup/fwup.mk                     |  2 +-
 3 files changed, 38 insertions(+), 2 deletions(-)
 create mode 100644 package/fwup/0001-Fix-uclibc-build.patch

Applied to next, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com