* [ptxdist] [PATCH] udev: fix compilation for mtd-probe
@ 2017-03-31 14:32 Markus Niebel
2017-04-03 8:31 ` Michael Olbrich
0 siblings, 1 reply; 2+ messages in thread
From: Markus Niebel @ 2017-03-31 14:32 UTC (permalink / raw)
To: ptxdist; +Cc: Markus Niebel
From: Markus Niebel <Markus.Niebel@tq-group.com>
mtd-probe does not compile. Fix this by adding stdint to supply
correct typedefs
Signed-off-by: Markus Niebel <Markus.Niebel@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.Niebel@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.Niebel@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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [ptxdist] [PATCH] udev: fix compilation for mtd-probe
2017-03-31 14:32 [ptxdist] [PATCH] udev: fix compilation for mtd-probe Markus Niebel
@ 2017-04-03 8:31 ` Michael Olbrich
0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2017-04-03 8:31 UTC (permalink / raw)
To: ptxdist
On Fri, Mar 31, 2017 at 04:32:19PM +0200, Markus Niebel wrote:
> From: Markus Niebel <Markus.Niebel@tq-group.com>
>
> mtd-probe does not compile. Fix this by adding stdint to supply
> correct typedefs
>
> Signed-off-by: Markus Niebel <Markus.Niebel@tq-group.com>
Thanks, applied,
Michael
> ---
> .../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.Niebel@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.Niebel@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
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-04-03 8:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-31 14:32 [ptxdist] [PATCH] udev: fix compilation for mtd-probe Markus Niebel
2017-04-03 8:31 ` Michael Olbrich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox