From e95d01590ef66c4a2bc32894355989888207ca70 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Wed, 22 Nov 2006 20:26:06 +0000 Subject: - ignore GLOB_TILDE if it's not available. --- .../ipsec-tools/ipsec-tools-0.6.6.102-GLOB_TILDE.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 package/ipsec-tools/ipsec-tools-0.6.6.102-GLOB_TILDE.patch diff --git a/package/ipsec-tools/ipsec-tools-0.6.6.102-GLOB_TILDE.patch b/package/ipsec-tools/ipsec-tools-0.6.6.102-GLOB_TILDE.patch new file mode 100644 index 000000000..41d9c2bf2 --- /dev/null +++ b/package/ipsec-tools/ipsec-tools-0.6.6.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"); -- cgit v1.2.3