summaryrefslogtreecommitdiffstats
path: root/package/ipsec-tools/ipsec-tools-0.6.7.102-GLOB_TILDE.patch
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-06-25 09:41:35 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-06-25 09:41:35 +0000
commit0982183a8d7313a63718c86e3524caea1910b886 (patch)
tree0f3ce520dced3a7be4c43856b704e0fbcf4679ee /package/ipsec-tools/ipsec-tools-0.6.7.102-GLOB_TILDE.patch
parent933d5c60efa0d194a129d02ed14613d7c3169551 (diff)
downloadbuildroot-novena-0982183a8d7313a63718c86e3524caea1910b886.tar.gz
buildroot-novena-0982183a8d7313a63718c86e3524caea1910b886.zip
- bump version
- add SUSV legacy fixups
Diffstat (limited to 'package/ipsec-tools/ipsec-tools-0.6.7.102-GLOB_TILDE.patch')
-rw-r--r--package/ipsec-tools/ipsec-tools-0.6.7.102-GLOB_TILDE.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/package/ipsec-tools/ipsec-tools-0.6.7.102-GLOB_TILDE.patch b/package/ipsec-tools/ipsec-tools-0.6.7.102-GLOB_TILDE.patch
new file mode 100644
index 000000000..41d9c2bf2
--- /dev/null
+++ b/package/ipsec-tools/ipsec-tools-0.6.7.102-GLOB_TILDE.patch
@@ -0,0 +1,15 @@
+--- ipsec-tools-0.6.6.oorig/src/racoon/cftoken.c 2006-06-13 10:49:01.000000000 +0200
++++ ipsec-tools-0.6.6/src/racoon/cftoken.c 2006-11-22 21:20:30.000000000 +0100
+@@ -4076,8 +4076,11 @@
+ "Includes nested too deeply");
+ return -1;
+ }
+-
++#ifdef GLOB_TILDE
+ if (glob(path, GLOB_TILDE, NULL, &incstack[incstackp].matches) != 0 ||
++#else
++ if (glob(path, 0, NULL, &incstack[incstackp].matches) != 0 ||
++#endif
+ incstack[incstackp].matches.gl_pathc == 0) {
+ plog(LLV_ERROR, LOCATION, NULL,
+ "glob found no matches for path");