* [Buildroot] [PATCH] udftools: add patch to fix build on musl
@ 2018-04-22 13:26 Thomas Petazzoni
2018-04-25 19:37 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Thomas Petazzoni @ 2018-04-22 13:26 UTC (permalink / raw)
To: buildroot
Fixes:
http://autobuild.buildroot.net/results/e77a96bd2a73c8255fd078022b11e8c47a4c712e/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
...up-pktsetup.c-do-not-include-bits-types.h.patch | 32 ++++++++++++++++++++++
1 file changed, 32 insertions(+)
create mode 100644 package/udftools/0001-pktsetup-pktsetup.c-do-not-include-bits-types.h.patch
diff --git a/package/udftools/0001-pktsetup-pktsetup.c-do-not-include-bits-types.h.patch b/package/udftools/0001-pktsetup-pktsetup.c-do-not-include-bits-types.h.patch
new file mode 100644
index 0000000000..4d842821aa
--- /dev/null
+++ b/package/udftools/0001-pktsetup-pktsetup.c-do-not-include-bits-types.h.patch
@@ -0,0 +1,32 @@
+From 8da4dde42cc25294819ad078432d85437e4a12ee Mon Sep 17 00:00:00 2001
+From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
+Date: Sun, 22 Apr 2018 15:05:46 +0200
+Subject: [PATCH] pktsetup/pktsetup.c: do not include <bits/types.h>
+
+This header is not a standard header, and is for example not provided
+by the musl C library.
+
+This change has been tested by building udftools against glibc, uClibc
+and musl.
+
+Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
+Upstream-status: https://github.com/pali/udftools/pull/16
+---
+ pktsetup/pktsetup.c | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/pktsetup/pktsetup.c b/pktsetup/pktsetup.c
+index 8b3df51..81ed142 100644
+--- a/pktsetup/pktsetup.c
++++ b/pktsetup/pktsetup.c
+@@ -27,7 +27,6 @@
+ #include <sys/stat.h>
+ #include <unistd.h>
+ #include <getopt.h>
+-#include <bits/types.h>
+ #include <sys/types.h>
+ #include <string.h>
+ #include <limits.h>
+--
+2.14.3
+
--
2.14.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH] udftools: add patch to fix build on musl
2018-04-22 13:26 [Buildroot] [PATCH] udftools: add patch to fix build on musl Thomas Petazzoni
@ 2018-04-25 19:37 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2018-04-25 19:37 UTC (permalink / raw)
To: buildroot
Hello,
On Sun, 22 Apr 2018 15:26:00 +0200, Thomas Petazzoni wrote:
> Fixes:
>
> http://autobuild.buildroot.net/results/e77a96bd2a73c8255fd078022b11e8c47a4c712e/
>
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
> ---
> ...up-pktsetup.c-do-not-include-bits-types.h.patch | 32 ++++++++++++++++++++++
> 1 file changed, 32 insertions(+)
> create mode 100644 package/udftools/0001-pktsetup-pktsetup.c-do-not-include-bits-types.h.patch
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-04-25 19:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-22 13:26 [Buildroot] [PATCH] udftools: add patch to fix build on musl Thomas Petazzoni
2018-04-25 19:37 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox