summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lang/xsb/files/xsb-3.0.1-wildmatch.patch')
-rw-r--r--dev-lang/xsb/files/xsb-3.0.1-wildmatch.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/dev-lang/xsb/files/xsb-3.0.1-wildmatch.patch b/dev-lang/xsb/files/xsb-3.0.1-wildmatch.patch
new file mode 100644
index 000000000000..383b27116767
--- /dev/null
+++ b/dev-lang/xsb/files/xsb-3.0.1-wildmatch.patch
@@ -0,0 +1,15 @@
+--- XSB.orig/packages/wildmatch/cc/xsb_wildmatch.c 2005-03-05 20:52:21.000000000 +1300
++++ XSB/packages/wildmatch/cc/xsb_wildmatch.c 2007-01-24 22:07:11.000000000 +1300
+@@ -114,12 +114,6 @@
+ return FALSE;
+ }
+
+-#ifndef GLOB_ABORTED
+-#define GLOB_ABORTED (-2) /* Unignored error. */
+-#endif
+-#define GLOB_NOMATCH (-3) /* No match and GLOB_NOCHECK not set. */
+-#define GLOB_NOSYS (-4) /* Function not supported. */
+-#define GLOB_ABEND GLOB_ABORTED
+
+
+ /* XSB glob matcher: match files in current directory according to a wildcard.