diff options
author | Daniel Golle <daniel@makrotopia.org> | 2015-03-29 20:04:55 +0200 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2015-03-29 20:06:09 +0200 |
commit | 28e2ca2011c60267318286aad34538ad61206b38 (patch) | |
tree | 8e5b09ecc6b34b66adada13222189081a20c8f6e /net/xl2tpd/patches | |
parent | e6825ac677220aaa7ee9d56fe7d0e7fcd2a655f8 (diff) |
xl2tpd: fix build with musl
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'net/xl2tpd/patches')
-rw-r--r-- | net/xl2tpd/patches/120-no-bsd-signal-in-musl.patch | 13 |
1 files changed, 13 insertions, 0 deletions
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 index 000000000..dba544c0e --- /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) |