aboutsummaryrefslogtreecommitdiffstats
path: root/main/xl2tpd/xl2tpd-compile.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2016-05-16 17:50:01 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2016-05-16 18:50:20 +0000
commitc1f7e2253205e6ee1df151b57acb508dfeedcaba (patch)
treedd408e636c3ff57731661e7e59419c3241735db2 /main/xl2tpd/xl2tpd-compile.patch
parentda442094ef7c9b41855df3fe5385607945fdedae (diff)
downloadaports-c1f7e2253205e6ee1df151b57acb508dfeedcaba.tar.bz2
aports-c1f7e2253205e6ee1df151b57acb508dfeedcaba.tar.xz
main/xl2tpd: upgrade to 1.3.7
Diffstat (limited to 'main/xl2tpd/xl2tpd-compile.patch')
-rw-r--r--main/xl2tpd/xl2tpd-compile.patch19
1 files changed, 9 insertions, 10 deletions
diff --git a/main/xl2tpd/xl2tpd-compile.patch b/main/xl2tpd/xl2tpd-compile.patch
index d41bc595f1..b37baa5506 100644
--- a/main/xl2tpd/xl2tpd-compile.patch
+++ b/main/xl2tpd/xl2tpd-compile.patch
@@ -1,12 +1,11 @@
-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)
+--- ./xl2tpd.c.orig
++++ ./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)
--# include <bsd/signal.h>
- # elif defined(SOLARIS)
- # include <signal.h>
- # endif
+ # elif defined(LINUX)