summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-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>