git.99rst.org
/
openwrt-packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
e6825ac
)
xl2tpd: fix build with musl
author
Daniel Golle
<redacted>
Sun, 29 Mar 2015 18:04:55 +0000
(20:04 +0200)
committer
Daniel Golle
<redacted>
Sun, 29 Mar 2015 18:06:09 +0000
(20:06 +0200)
Signed-off-by: Daniel Golle <redacted>
net/xl2tpd/patches/120-no-bsd-signal-in-musl.patch
[new file with mode: 0644]
patch
|
blob
diff --git a/net/xl2tpd/patches/120-no-bsd-signal-in-musl.patch
b/net/xl2tpd/patches/120-no-bsd-signal-in-musl.patch
new file mode 100644
(file)
index 0000000..
dba544c
--- /dev/null
+++ b/
net/xl2tpd/patches/120-no-bsd-signal-in-musl.patch
@@ -0,0
+1,13
@@
+Index: xl2tpd-1.3.6/xl2tpd.c
+===================================================================
+--- xl2tpd-1.3.6.orig/xl2tpd.c
++++ xl2tpd-1.3.6/xl2tpd.c
+@@ -30,7 +30,7 @@
+ #include <errno.h>
+ #include <unistd.h>
+ #include <time.h>
+-#if (__GLIBC__ < 2)
++#if defined (__GLIBC__) && (__GLIBC__ < 2)
+ # if defined(FREEBSD) || defined(OPENBSD)
+ # include <sys/signal.h>
+ # elif defined(LINUX)
git clone https://git.99rst.org/PROJECT