openvpn/openvpn.patch

changeset 666
0c12a9c824a0
child 668
4b4e887677a9
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/openvpn/openvpn.patch	Fri Sep 07 19:01:31 2012 +0200
     1.3 @@ -0,0 +1,13 @@
     1.4 +Index: tun.c
     1.5 +--- tun.c.orig	2011-04-06 18:05:52.000000000 +0200
     1.6 ++++ tun.c	2011-04-30 10:22:38.000000000 +0200
     1.7 +@@ -1400,7 +1400,8 @@
     1.8 + #elif defined(TARGET_SOLARIS)
     1.9 + 
    1.10 + #ifndef TUNNEWPPA
    1.11 +-#error I need the symbol TUNNEWPPA from net/if_tun.h
    1.12 ++#warning I usually need the symbol TUNNEWPPA from net/if_tun.h -- using a shameless local copy taken from TUN 1.1
    1.13 ++#define TUNNEWPPA   (('T'<<16) | 0x0001)
    1.14 + #endif
    1.15 + 
    1.16 + void

mercurial