* [Buildroot] [PATCH] sysvinit: fix compilation error against musl
@ 2017-08-13 17:35 Dagg Stompler
2017-08-14 20:20 ` Thomas Petazzoni
2017-09-05 22:24 ` Peter Korsgaard
0 siblings, 2 replies; 3+ messages in thread
From: Dagg Stompler @ 2017-08-13 17:35 UTC (permalink / raw)
To: buildroot
Signed-off-by: Dagg Stompler <daggs@gmx.com>
---
.../0002-musl_fix_compilation_errors.patch | 38 ++++++++++++++++++++++
1 file changed, 38 insertions(+)
create mode 100644 package/sysvinit/0002-musl_fix_compilation_errors.patch
diff --git a/package/sysvinit/0002-musl_fix_compilation_errors.patch b/package/sysvinit/0002-musl_fix_compilation_errors.patch
new file mode 100644
index 0000000000..76b6ced894
--- /dev/null
+++ b/package/sysvinit/0002-musl_fix_compilation_errors.patch
@@ -0,0 +1,38 @@
+fix compilation errors when compiling against must libc.
+
+Signed-off-by: Dagg Stompler <daggs@gmx.com>
+
+diff -Nupr a/src/init.c b/src/init.c
+--- a/src/init.c 2017-08-13 18:44:27.000000000 +0300
++++ b/src/init.c 2017-08-13 18:34:45.000000000 +0300
+@@ -37,6 +37,7 @@
+ #include <sys/kd.h>
+ #endif
+ #include <sys/resource.h>
++#include <sys/ttydefaults.h>
+ #include <stdlib.h>
+ #include <unistd.h>
+ #include <errno.h>
+diff -Nupr a/src/init.h b/src/init.h
+--- a/src/init.h 2017-08-13 19:35:46.000000000 +0300
++++ b/src/init.h 2017-08-13 19:36:01.000000000 +0300
+@@ -22,6 +22,8 @@
+ *
+ */
+
++#include <time.h>
++
+ /* Standard configuration */
+ #define CHANGE_WAIT 0 /* Change runlevel while
+ waiting for a process to exit? */
+diff -Nupr a/src/mountpoint.c b/src/mountpoint.c
+--- a/src/mountpoint.c 2017-08-13 20:28:26.000000000 +0300
++++ b/src/mountpoint.c 2017-08-13 20:28:40.000000000 +0300
+@@ -24,6 +24,7 @@
+ */
+
+ #include <sys/stat.h>
++#include <sys/types.h>
+ #include <unistd.h>
+ #include <stdlib.h>
+ #include <string.h>
--
2.14.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH] sysvinit: fix compilation error against musl
2017-08-13 17:35 [Buildroot] [PATCH] sysvinit: fix compilation error against musl Dagg Stompler
@ 2017-08-14 20:20 ` Thomas Petazzoni
2017-09-05 22:24 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2017-08-14 20:20 UTC (permalink / raw)
To: buildroot
Hello,
On Sun, 13 Aug 2017 20:35:59 +0300, Dagg Stompler wrote:
> Signed-off-by: Dagg Stompler <daggs@gmx.com>
> ---
> .../0002-musl_fix_compilation_errors.patch | 38 ++++++++++++++++++++++
> 1 file changed, 38 insertions(+)
> create mode 100644 package/sysvinit/0002-musl_fix_compilation_errors.patch
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH] sysvinit: fix compilation error against musl
2017-08-13 17:35 [Buildroot] [PATCH] sysvinit: fix compilation error against musl Dagg Stompler
2017-08-14 20:20 ` Thomas Petazzoni
@ 2017-09-05 22:24 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2017-09-05 22:24 UTC (permalink / raw)
To: buildroot
>>>>> "Dagg" == Dagg Stompler <daggs@gmx.com> writes:
> Signed-off-by: Dagg Stompler <daggs@gmx.com>
Committed to 2017.02.x, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-09-05 22:24 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-13 17:35 [Buildroot] [PATCH] sysvinit: fix compilation error against musl Dagg Stompler
2017-08-14 20:20 ` Thomas Petazzoni
2017-09-05 22:24 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox