diff options
author | Wojciech Niziński <niziak@spox.org> | 2016-04-05 21:32:15 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-06-12 23:19:35 +0200 |
commit | 4fe8f3974fa9be5e7b230f879ca102ac648fdb39 (patch) | |
tree | fa9662c88ff1287e260b0a7617e2794198faed44 /package/fwup/0001-Add-missing-sys-types.h-includes.patch | |
parent | 333531f9fd1cf7148ab63d5f02fdec46d8b6fee7 (diff) | |
download | buildroot-4fe8f3974fa9be5e7b230f879ca102ac648fdb39.tar.gz buildroot-4fe8f3974fa9be5e7b230f879ca102ac648fdb39.zip |
fwup: new package
Signed-off-by: Wojciech Nizinski <niziak@spox.org>
[Thomas:
- Add missing dependency on wchar
- Rewrap Config.in help text
- Add missing "depends on BR2_USE_MMU" on the comment about wchar
dependency.
- Switch to upstream 0.7.0 version
- Replace the hook calling autogen.sh by a hook simply creating the m4
directory, which is what prevented <pkg>_AUTORECONF from working.
- Add patch to fix build with uClibc.
- Split in separate patches the addition of the host variants of
libarchive and libsodium.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/fwup/0001-Add-missing-sys-types.h-includes.patch')
-rw-r--r-- | package/fwup/0001-Add-missing-sys-types.h-includes.patch | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/package/fwup/0001-Add-missing-sys-types.h-includes.patch b/package/fwup/0001-Add-missing-sys-types.h-includes.patch new file mode 100644 index 0000000000..aa2234861a --- /dev/null +++ b/package/fwup/0001-Add-missing-sys-types.h-includes.patch @@ -0,0 +1,64 @@ +From 782ffa564236b79d49a88e63da65ac01b6f2cfc1 Mon Sep 17 00:00:00 2001 +From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> +Date: Sun, 12 Jun 2016 22:57:02 +0200 +Subject: [PATCH] Add missing <sys/types.h> includes +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +<sys/types.h> is needed for the definition of off_t, otherwise building +with uClibc fails with: + +In file included from cfgfile.c:17:0: +cfgfile.h:25:87: error: unknown type name ‘off_t’ + int archive_read_all_data(struct archive *a, struct archive_entry *ae, char **buffer, off_t max_size, off_t *size_read); + ^ +cfgfile.h:25:103: error: unknown type name ‘off_t’ + int archive_read_all_data(struct archive *a, struct archive_entry *ae, char **buffer, off_t max_size, off_t *size_read); + +Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> +--- + src/cfgfile.h | 1 + + src/mmc.h | 1 + + src/util.h | 1 + + 3 files changed, 3 insertions(+) + +diff --git a/src/cfgfile.h b/src/cfgfile.h +index 1a6ffbb..8982b1d 100644 +--- a/src/cfgfile.h ++++ b/src/cfgfile.h +@@ -17,6 +17,7 @@ + #ifndef CFGFILE_H + #define CFGFILE_H + ++#include <sys/types.h> + #include <confuse.h> + + struct archive; +diff --git a/src/mmc.h b/src/mmc.h +index 56f85eb..626570a 100644 +--- a/src/mmc.h ++++ b/src/mmc.h +@@ -20,6 +20,7 @@ + #include <stddef.h> + #include <stdio.h> + #include <stdint.h> ++#include <sys/types.h> + + #define MMC_DEVICE_PATH_LEN 32 + +diff --git a/src/util.h b/src/util.h +index 83f82ec..23359c1 100644 +--- a/src/util.h ++++ b/src/util.h +@@ -20,6 +20,7 @@ + #include <stdbool.h> + #include <stdio.h> + #include <stdint.h> ++#include <sys/types.h> + + struct tm; + +-- +2.7.4 + |