summaryrefslogtreecommitdiffstats
path: root/package/vpnc/vpnc-0.5.3-susv3-legacy.patch
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf.samuelsson@atmel.com>2009-01-14 23:50:44 +0000
committerUlf Samuelsson <ulf.samuelsson@atmel.com>2009-01-14 23:50:44 +0000
commit65d2a21b6750ea99a4d66873645735f80511f238 (patch)
tree56ee7868cbb3f07904f1d2bde2b650fd8459bc91 /package/vpnc/vpnc-0.5.3-susv3-legacy.patch
parent4f78c090a4a11467903f1999daa14139e78972ca (diff)
downloadbuildroot-novena-65d2a21b6750ea99a4d66873645735f80511f238.tar.gz
buildroot-novena-65d2a21b6750ea99a4d66873645735f80511f238.zip
Bump vpnc version and remove build of man pages, which breaks when cross compiling
Diffstat (limited to 'package/vpnc/vpnc-0.5.3-susv3-legacy.patch')
-rw-r--r--package/vpnc/vpnc-0.5.3-susv3-legacy.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/vpnc/vpnc-0.5.3-susv3-legacy.patch b/package/vpnc/vpnc-0.5.3-susv3-legacy.patch
new file mode 100644
index 000000000..2e577e388
--- /dev/null
+++ b/package/vpnc/vpnc-0.5.3-susv3-legacy.patch
@@ -0,0 +1,12 @@
+diff -rdup vpnc-0.5.1.oorig/config.c vpnc-0.5.1/config.c
+--- vpnc-0.5.1.oorig/config.c 2007-09-10 22:39:48.000000000 +0200
++++ vpnc-0.5.1/config.c 2007-09-19 14:19:46.000000000 +0200
+@@ -538,7 +538,7 @@ static char *get_config_filename(const c
+ {
+ char *realname;
+
+- asprintf(&realname, "%s%s%s", index(name, '/') ? "" : "/etc/vpnc/", name, add_dot_conf ? ".conf" : "");
++ asprintf(&realname, "%s%s%s", strchr(name, '/') ? "" : "/etc/vpnc/", name, add_dot_conf ? ".conf" : "");
+ return realname;
+ }
+