fix linker error when compiling with support for polarssl and certain options
authorMirko Vogt <[email protected]>
Fri, 15 Jun 2012 08:31:45 +0000 (08:31 +0000)
committerMirko Vogt <[email protected]>
Fri, 15 Jun 2012 08:31:45 +0000 (08:31 +0000)
SVN-Revision: 32382

net/openvpn-devel/001-workaround-ifdef-brokenness.patch [new file with mode: 0644]

diff --git a/net/openvpn-devel/001-workaround-ifdef-brokenness.patch b/net/openvpn-devel/001-workaround-ifdef-brokenness.patch
new file mode 100644 (file)
index 0000000..2391588
--- /dev/null
@@ -0,0 +1,13 @@
+diff --git a/src/openvpn/ssl_polarssl.h b/src/openvpn/ssl_polarssl.h
+index 2b02a6f..6174633 100644
+--- a/src/openvpn/ssl_polarssl.h
++++ b/src/openvpn/ssl_polarssl.h
+@@ -31,7 +31,7 @@
+ #define SSL_POLARSSL_H_
+ #include <polarssl/ssl.h>
+-#include "config.h"
++//#include "config.h"
+ #if defined(ENABLE_PKCS11)
+ #include <polarssl/pkcs11.h>