Browse Source

fix for musl compile

Waldemar Brodkorb 11 years ago
parent
commit
18b865b3c0

+ 1 - 1
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

+ 11 - 0
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>

+ 11 - 0
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>