From cb0f4590e9e14fe3a6086f6369e6a0b8ed8944b2 Mon Sep 17 00:00:00 2001 From: Ruslan Babayev Date: Sun, 6 Sep 2015 22:59:57 -0700 Subject: [PATCH] vpnc: revert part of musl patch commit 1779dabd7d1ac181f2fee102f55e9f8360c33006 causes: vpnc: can't initialise tunnel interface: No such file or directory --- srcpkgs/vpnc/patches/0001-fix-musl.patch | 7 ++++--- srcpkgs/vpnc/template | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/srcpkgs/vpnc/patches/0001-fix-musl.patch b/srcpkgs/vpnc/patches/0001-fix-musl.patch index 5ceb5845e93..9485c006bd7 100644 --- a/srcpkgs/vpnc/patches/0001-fix-musl.patch +++ b/srcpkgs/vpnc/patches/0001-fix-musl.patch @@ -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 #elif defined(__linux__) --#include -+/*#include */ ++#ifdef __GLIBC__ + #include ++#endif #elif defined(__APPLE__) /* no header for tun */ #elif defined(__CYGWIN__) diff --git a/srcpkgs/vpnc/template b/srcpkgs/vpnc/template index 8c46a1b05f0..9d8ca74d272 100644 --- a/srcpkgs/vpnc/template +++ b/srcpkgs/vpnc/template @@ -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'