summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-12-28 18:23:22 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2013-12-28 18:23:22 +0100
commit18b865b3c0008d5d392cf33660f8e2b98cbf154f (patch)
treec9143bf180b6e809b3d5770cf5debf72d93f3fa6
parent7051ba973da28f456659ced479c731a61a624a85 (diff)
fix for musl compile
-rw-r--r--package/ptunnel/Makefile2
-rw-r--r--package/ptunnel/patches/patch-ptunnel_c11
-rw-r--r--package/ptunnel/patches/patch-ptunnel_h11
3 files changed, 23 insertions, 1 deletions
diff --git a/package/ptunnel/Makefile b/package/ptunnel/Makefile
index f4186c626..ea564a5fd 100644
--- a/package/ptunnel/Makefile
+++ b/package/ptunnel/Makefile
@@ -5,7 +5,7 @@ include ${TOPDIR}/rules.mk
PKG_NAME:= ptunnel
PKG_VERSION:= 0.61
-PKG_RELEASE:= 1
+PKG_RELEASE:= 2
PKG_MD5SUM:= b45f73875f2af48f101816672f83a5fe
PKG_DESCR:= Tunnel TCP connections over ICMP packets
PKG_SECTION:= net/security
diff --git a/package/ptunnel/patches/patch-ptunnel_c b/package/ptunnel/patches/patch-ptunnel_c
new file mode 100644
index 000000000..40fd0a76f
--- /dev/null
+++ b/package/ptunnel/patches/patch-ptunnel_c
@@ -0,0 +1,11 @@
+--- ptunnel-0.61.orig/ptunnel.c 2005-07-13 11:57:27.000000000 +0200
++++ ptunnel-0.61/ptunnel.c 2013-12-28 18:21:38.000000000 +0100
+@@ -43,7 +43,7 @@
+ #include "ptunnel.h"
+ #include <pthread.h>
+ #include <stdarg.h>
+-#include <sys/unistd.h>
++#include <unistd.h>
+ #include <sys/types.h>
+ #include <sys/socket.h>
+ #include <netinet/in.h>
diff --git a/package/ptunnel/patches/patch-ptunnel_h b/package/ptunnel/patches/patch-ptunnel_h
new file mode 100644
index 000000000..85d8caebb
--- /dev/null
+++ b/package/ptunnel/patches/patch-ptunnel_h
@@ -0,0 +1,11 @@
+--- ptunnel-0.61.orig/ptunnel.h 2005-07-13 11:57:27.000000000 +0200
++++ ptunnel-0.61/ptunnel.h 2013-12-28 18:22:22.000000000 +0100
+@@ -44,7 +44,7 @@
+ #define PING_TUNNEL_H
+
+ // Includes
+- #include <sys/unistd.h>
++ #include <unistd.h>
+ #include <sys/types.h>
+ #include <sys/socket.h>
+ #include <netinet/in.h>