diff options
author | Gustavo Zacarias <gustavo@zacarias.com.ar> | 2011-04-27 15:05:10 -0300 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2011-04-27 20:55:34 +0200 |
commit | f1d88a96ca865f828d1efadd8de0898819453373 (patch) | |
tree | cc2153fbb1e474141d1c4a5d94022fe16d060119 /package/openvpn/openvpn-fix-tmpdir.patch | |
parent | 2c200d5b369378876f85afc222ba7f14b120bbc6 (diff) |
openvpn: bump to version 2.2.0
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/openvpn/openvpn-fix-tmpdir.patch')
-rw-r--r-- | package/openvpn/openvpn-fix-tmpdir.patch | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/package/openvpn/openvpn-fix-tmpdir.patch b/package/openvpn/openvpn-fix-tmpdir.patch new file mode 100644 index 000000000..919d49bf2 --- /dev/null +++ b/package/openvpn/openvpn-fix-tmpdir.patch @@ -0,0 +1,39 @@ +From b70d99fb617350b252c8bde2f1f2d81d3f5b7955 Mon Sep 17 00:00:00 2001 +From: Gustavo Zacarias <gustavo@zacarias.com.ar> +Date: Wed, 27 Apr 2011 18:43:50 +0200 +Subject: [PATCH] Fix compile issues when using --enable-small and --disable-ssl/--disable-crypto + +The tmp_dir string is required in the options struct regardless of options +so spin it out of #if conditionals. + +Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> +Acked-by: David Sommerseth <dazo@users.sourceforge.net> +Signed-off-by: David Sommerseth <dazo@users.sourceforge.net> +--- + options.h | 3 ++- + 1 files changed, 2 insertions(+), 1 deletions(-) + +diff --git a/options.h b/options.h +index a9c6a94..8a51502 100644 +--- a/options.h ++++ b/options.h +@@ -369,6 +369,8 @@ struct options + struct plugin_option_list *plugin_list; + #endif + ++ const char *tmp_dir; ++ + #if P2MP + + #if P2MP_SERVER +@@ -409,7 +411,6 @@ struct options + const char *client_connect_script; + const char *client_disconnect_script; + const char *learn_address_script; +- const char *tmp_dir; + const char *client_config_dir; + bool ccd_exclusive; + bool disable; +-- +1.7.0.1 + |