vpnc: revert part of musl patch

commit 1779dabd7d causes:

vpnc: can't initialise tunnel interface: No such file or directory
This commit is contained in:
Ruslan Babayev 2015-09-06 22:59:57 -07:00
parent e5c0b7edb1
commit cb0f4590e9
2 changed files with 5 additions and 4 deletions

View File

@ -2,12 +2,13 @@ diff --git sysdep.c sysdep.c
index ff07753..43fdb74 100644
--- sysdep.c
+++ sysdep.c
@@ -59,7 +59,7 @@
@@ -59,7 +59,9 @@
#if defined(__DragonFly__)
#include <net/tun/if_tun.h>
#elif defined(__linux__)
-#include <linux/if_tun.h>
+/*#include <linux/if_tun.h>*/
+#ifdef __GLIBC__
#include <linux/if_tun.h>
+#endif
#elif defined(__APPLE__)
/* no header for tun */
#elif defined(__CYGWIN__)

View File

@ -1,7 +1,7 @@
# Template file for 'vpnc'
pkgname=vpnc
version=0.5.3
revision=4
revision=5
hostmakedepends="perl"
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=' vpnc'