summaryrefslogtreecommitdiff
path: root/package/l2tpns/patches
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/patches
parentbf74f495c3da7b24ff1c580f0653f1664ea5fd32 (diff)
fix musl compile
Diffstat (limited to 'package/l2tpns/patches')
-rw-r--r--package/l2tpns/patches/patch-cli_c10
-rw-r--r--package/l2tpns/patches/patch-cluster_c10
2 files changed, 20 insertions, 0 deletions
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>