summaryrefslogtreecommitdiff
path: root/package/vpnc/patches/patch-sysdep_h
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-12-28 17:30:36 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2013-12-28 17:30:36 +0100
commit89551d9a7633d83d45fb22316153dee7cd898fbc (patch)
treefe55cf46df70e534a912831f3288bd9b2400835f /package/vpnc/patches/patch-sysdep_h
parent320e16528ea6a9eba54bac0161e2331093075647 (diff)
parent7051ba973da28f456659ced479c731a61a624a85 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/vpnc/patches/patch-sysdep_h')
-rw-r--r--package/vpnc/patches/patch-sysdep_h11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/vpnc/patches/patch-sysdep_h b/package/vpnc/patches/patch-sysdep_h
new file mode 100644
index 000000000..854a14034
--- /dev/null
+++ b/package/vpnc/patches/patch-sysdep_h
@@ -0,0 +1,11 @@
+--- vpnc-0.5.3.orig/sysdep.h 2008-11-19 21:36:12.000000000 +0100
++++ vpnc-0.5.3/sysdep.h 2013-12-23 14:13:51.000000000 +0100
+@@ -37,7 +37,7 @@ int tun_read(int fd, unsigned char *buf,
+ int tun_get_hwaddr(int fd, char *dev, uint8_t *hwaddr);
+
+ /***************************************************************************/
+-#if defined(__linux__) || defined(__GLIBC__)
++#if defined(__GLIBC__)
+ #include <error.h>
+
+ #define HAVE_VASPRINTF 1