[packages/openvpn-devel] fix linker error when compiling with support for polarssl...
authormirko <mirko@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 15 Jun 2012 08:31:45 +0000 (08:31 +0000)
committermirko <mirko@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 15 Jun 2012 08:31:45 +0000 (08:31 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@32382 3c298f89-4303-0410-b956-a3cf2f4a3e73

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>