package/vlc: backport upstream patches to fix compat function for static_assert
[buildroot-gz.git] / package / xl2tp / 0002-musl.patch
blob44238e87d0e57688e27f7181a13c2d8a4b17f340
1 Fix musl build
3 Downloaded from
4 http://git.alpinelinux.org/cgit/aports/tree/main/xl2tpd/xl2tpd-compile.patch
6 Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
8 diff -u --recursive src.orig/xl2tpd-1.3.6/xl2tpd.c src/xl2tpd-1.3.6/xl2tpd.c
9 --- xl2tpd-1.3.6.orig/xl2tpd.c 2014-01-15 21:58:37.000000000 -0100
10 +++ xl2tpd-1.3.6/xl2tpd.c 2014-06-21 07:22:21.195278618 -0200
11 @@ -33,8 +33,6 @@
12 #if (__GLIBC__ < 2)
13 # if defined(FREEBSD) || defined(OPENBSD)
14 # include <sys/signal.h>
15 -# elif defined(LINUX)
16 -# include <bsd/signal.h>
17 # elif defined(SOLARIS)
18 # include <signal.h>
19 # endif