From: Markus Niebel <markus.nie...@tq-group.com> mtd-probe does not compile. Fix this by adding stdint to supply correct typedefs
Signed-off-by: Markus Niebel <markus.nie...@tq-group.com> --- .../udev-182/0002-mtd-probe-fix-compilation.patch | 25 ++++++++++++++++++++++ patches/udev-182/series | 4 +--- 2 files changed, 26 insertions(+), 3 deletions(-) create mode 100644 patches/udev-182/0002-mtd-probe-fix-compilation.patch diff --git a/patches/udev-182/0002-mtd-probe-fix-compilation.patch b/patches/udev-182/0002-mtd-probe-fix-compilation.patch new file mode 100644 index 0000000..60a257f --- /dev/null +++ b/patches/udev-182/0002-mtd-probe-fix-compilation.patch @@ -0,0 +1,25 @@ +From 5c78b1319ec1cf8cac48920ba60eff6f273acff9 Mon Sep 17 00:00:00 2001 +From: Markus Niebel <markus.nie...@tq-group.com> +Date: Fri, 31 Mar 2017 11:46:14 +0200 +Subject: [PATCH 2/2] mtd-probe: fix compilation + +Signed-off-by: Markus Niebel <markus.nie...@tq-group.com> +--- + src/mtd_probe/mtd_probe.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/mtd_probe/mtd_probe.h b/src/mtd_probe/mtd_probe.h +index 2a37ede578b3..961176a475a2 100644 +--- a/src/mtd_probe/mtd_probe.h ++++ b/src/mtd_probe/mtd_probe.h +@@ -17,6 +17,7 @@ + * Boston, MA 02110-1301 USA + */ + ++#include <stdint.h> + #include <mtd/mtd-user.h> + + /* Full oob structure as written on the flash */ +-- +1.9.1 + diff --git a/patches/udev-182/series b/patches/udev-182/series index 1c17f15..f5bfa57 100644 --- a/patches/udev-182/series +++ b/patches/udev-182/series @@ -1,4 +1,2 @@ -# generated by git-ptx-patches -#tag:base --start-number 1 0001-configure.ac-fix-FTBFS-with-new-glibc.patch -# be5cd22057d8bd81ce6afd40df0f051d - git-ptx-patches magic +0002-mtd-probe-fix-compilation.patch -- 1.9.1 _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de