summaryrefslogtreecommitdiff
path: root/package/l2tpns
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-12-21 14:24:33 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2013-12-21 14:24:33 +0100
commit56f75860814b12a5a1d4b2bb69938e69e81258e0 (patch)
tree9e167f783b944b9dfbc13e906c33cc32d46d3d3b /package/l2tpns
parentbf74f495c3da7b24ff1c580f0653f1664ea5fd32 (diff)
fix musl compile
Diffstat (limited to 'package/l2tpns')
-rw-r--r--package/l2tpns/Makefile2
-rw-r--r--package/l2tpns/patches/patch-cli_c10
-rw-r--r--package/l2tpns/patches/patch-cluster_c10
3 files changed, 21 insertions, 1 deletions
diff --git a/package/l2tpns/Makefile b/package/l2tpns/Makefile
index d48ec3ee5..e0efe45ad 100644
--- a/package/l2tpns/Makefile
+++ b/package/l2tpns/Makefile
@@ -5,7 +5,7 @@ include ${TOPDIR}/rules.mk
PKG_NAME:= l2tpns
PKG_VERSION:= 2.1.21
-PKG_RELEASE:= 1
+PKG_RELEASE:= 2
PKG_MD5SUM:= 385c58055723ebc6c38062acd2db9c2c
PKG_DESCR:= A layer 2 tunneling protocol network server (LNS)
PKG_SECTION:= net/security
diff --git a/package/l2tpns/patches/patch-cli_c b/package/l2tpns/patches/patch-cli_c
new file mode 100644
index 000000000..c98c5cfea
--- /dev/null
+++ b/package/l2tpns/patches/patch-cli_c
@@ -0,0 +1,10 @@
+--- l2tpns-2.1.21.orig/cli.c 2005-12-06 10:43:42.000000000 +0100
++++ l2tpns-2.1.21/cli.c 2013-12-21 14:10:49.000000000 +0100
+@@ -4,6 +4,7 @@
+ char const *cvs_name = "$Name: release_2_1_21 $";
+ char const *cvs_id_cli = "$Id: cli.c,v 1.71 2005/12/06 09:43:42 bodea Exp $";
+
++#include <bits/fcntl.h>
+ #include <stdio.h>
+ #include <stddef.h>
+ #include <stdarg.h>
diff --git a/package/l2tpns/patches/patch-cluster_c b/package/l2tpns/patches/patch-cluster_c
new file mode 100644
index 000000000..606ef3062
--- /dev/null
+++ b/package/l2tpns/patches/patch-cluster_c
@@ -0,0 +1,10 @@
+--- l2tpns-2.1.21.orig/cluster.c 2006-12-02 15:09:14.000000000 +0100
++++ l2tpns-2.1.21/cluster.c 2013-12-21 14:23:14.000000000 +0100
+@@ -2,6 +2,7 @@
+
+ char const *cvs_id_cluster = "$Id: cluster.c,v 1.50.2.1 2006/12/02 14:09:14 bodea Exp $";
+
++#include <bits/fcntl.h>
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <stdarg.h>