From: Markus Niebel <niebelm@tqsc.de>
To: ptxdist@pengutronix.de
Cc: Markus Niebel <Markus.Niebel@tq-group.com>
Subject: [ptxdist] [PATCH] udev: fix compilation for mtd-probe
Date: Fri, 31 Mar 2017 16:32:19 +0200 [thread overview]
Message-ID: <1490970739-5940-1-git-send-email-niebelm@tqsc.de> (raw)
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
next reply other threads:[~2017-03-31 14:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-31 14:32 Markus Niebel [this message]
2017-04-03 8:31 ` Michael Olbrich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1490970739-5940-1-git-send-email-niebelm@tqsc.de \
--to=niebelm@tqsc.de \
--cc=Markus.Niebel@tq-group.com \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox