Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] pptp-linux: add musl build fix patch
@ 2016-01-22 13:23 Gustavo Zacarias
  2016-01-23 23:27 ` Bernd Kuhls
  2016-02-17 18:29 ` Peter Korsgaard
  0 siblings, 2 replies; 3+ messages in thread
From: Gustavo Zacarias @ 2016-01-22 13:23 UTC (permalink / raw)
  To: buildroot

Fixes:
http://autobuild.buildroot.net/results/56d/56dd530d53489220d0080480310b8dc150cf1b2e/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 .../0003-pqueue.h-include-sys-types.h.patch        | 30 ++++++++++++++++++++++
 1 file changed, 30 insertions(+)
 create mode 100644 package/pptp-linux/0003-pqueue.h-include-sys-types.h.patch

diff --git a/package/pptp-linux/0003-pqueue.h-include-sys-types.h.patch b/package/pptp-linux/0003-pqueue.h-include-sys-types.h.patch
new file mode 100644
index 0000000..d6b5445
--- /dev/null
+++ b/package/pptp-linux/0003-pqueue.h-include-sys-types.h.patch
@@ -0,0 +1,30 @@
+From 060ad28b9ca5e99d7c6e8010132da58a3a8a0585 Mon Sep 17 00:00:00 2001
+From: Gustavo Zacarias <gustavo@zacarias.com.ar>
+Date: Fri, 22 Jan 2016 10:19:18 -0300
+Subject: [PATCH] pqueue.h: include sys/types.h
+
+We're using u_int32_t here, this breaks on musl libc builds otherwise.
+
+Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
+---
+Patch status: sent upstream to the devel mailing list
+(moderated, no archive link yet)
+
+ pqueue.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/pqueue.h b/pqueue.h
+index a56590f..8c60c62 100644
+--- a/pqueue.h
++++ b/pqueue.h
+@@ -3,6 +3,7 @@
+ 
+ #include <time.h>
+ #include <sys/time.h>
++#include <sys/types.h>
+ 
+ /* wait this many seconds for missing packets before forgetting about them */
+ #define DEFAULT_PACKET_TIMEOUT 0.3
+-- 
+2.4.10
+
-- 
2.4.10

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH] pptp-linux: add musl build fix patch
  2016-01-22 13:23 [Buildroot] [PATCH] pptp-linux: add musl build fix patch Gustavo Zacarias
@ 2016-01-23 23:27 ` Bernd Kuhls
  2016-02-17 18:29 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Bernd Kuhls @ 2016-01-23 23:27 UTC (permalink / raw)
  To: buildroot

Am Fri, 22 Jan 2016 10:23:37 -0300 schrieb Gustavo Zacarias:

> +diff --git a/pqueue.h b/pqueue.h +index a56590f..8c60c62 100644 +---
> a/pqueue.h ++++ b/pqueue.h +@@ -3,6 +3,7 @@
> +
> + #include <time.h>
> + #include <sys/time.h>
> ++#include <sys/types.h>
> +
> + /* wait this many seconds for missing packets before forgetting about
> them */
> + #define DEFAULT_PACKET_TIMEOUT 0.3 +--
> +2.4.10 +

Tested-by: Bernd Kuhls <bernd.kuhls@t-online.de>
(compile-tested only using http://autobuild.buildroot.org/toolchains/
tarballs/br-x86-64-musl-2015.11-rc1-71-g90d1299.tar.bz2)

Regards, Bernd

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH] pptp-linux: add musl build fix patch
  2016-01-22 13:23 [Buildroot] [PATCH] pptp-linux: add musl build fix patch Gustavo Zacarias
  2016-01-23 23:27 ` Bernd Kuhls
@ 2016-02-17 18:29 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2016-02-17 18:29 UTC (permalink / raw)
  To: buildroot

>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:

 > Fixes:
 > http://autobuild.buildroot.net/results/56d/56dd530d53489220d0080480310b8dc150cf1b2e/

 > Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-02-17 18:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-22 13:23 [Buildroot] [PATCH] pptp-linux: add musl build fix patch Gustavo Zacarias
2016-01-23 23:27 ` Bernd Kuhls
2016-02-17 18:29 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox