summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernd Kuhls <bernd.kuhls@t-online.de>2016-01-24 14:31:00 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-01-26 21:52:51 +0100
commit9693d44aac1251a6ae3e877a04fbc75ccce0b68c (patch)
tree581ce99d2a3473caf659a7742e918dac3bc9dd47
parentc6514c83e7999d642de320f0162884742877ab00 (diff)
downloadbuildroot-9693d44aac1251a6ae3e877a04fbc75ccce0b68c.tar.gz
buildroot-9693d44aac1251a6ae3e877a04fbc75ccce0b68c.zip
package/xl2tp: fix musl build
Fixes http://autobuild.buildroot.net/results/78d/78daf927aa43591401a072230b582591add1204c/ http://autobuild.buildroot.net/results/b7e/b7e42137e2a7379ea8acb76b2d4faece86ab488a/ Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/xl2tp/0002-musl.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/package/xl2tp/0002-musl.patch b/package/xl2tp/0002-musl.patch
new file mode 100644
index 0000000000..44238e87d0
--- /dev/null
+++ b/package/xl2tp/0002-musl.patch
@@ -0,0 +1,19 @@
+Fix musl build
+
+Downloaded from
+http://git.alpinelinux.org/cgit/aports/tree/main/xl2tpd/xl2tpd-compile.patch
+
+Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
+
+diff -u --recursive src.orig/xl2tpd-1.3.6/xl2tpd.c src/xl2tpd-1.3.6/xl2tpd.c
+--- xl2tpd-1.3.6.orig/xl2tpd.c 2014-01-15 21:58:37.000000000 -0100
++++ xl2tpd-1.3.6/xl2tpd.c 2014-06-21 07:22:21.195278618 -0200
+@@ -33,8 +33,6 @@
+ #if (__GLIBC__ < 2)
+ # if defined(FREEBSD) || defined(OPENBSD)
+ # include <sys/signal.h>
+-# elif defined(LINUX)
+-# include <bsd/signal.h>
+ # elif defined(SOLARIS)
+ # include <signal.h>
+ # endif
OpenPOWER on IntegriCloud