From 28e2ca2011c60267318286aad34538ad61206b38 Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Sun, 29 Mar 2015 20:04:55 +0200 Subject: [PATCH] xl2tpd: fix build with musl Signed-off-by: Daniel Golle --- net/xl2tpd/patches/120-no-bsd-signal-in-musl.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 net/xl2tpd/patches/120-no-bsd-signal-in-musl.patch 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 + #include + #include +-#if (__GLIBC__ < 2) ++#if defined (__GLIBC__) && (__GLIBC__ < 2) + # if defined(FREEBSD) || defined(OPENBSD) + # include + # elif defined(LINUX)