summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lang/xsb/files/xsb-3.0.1-perlmatch.patch')
-rw-r--r--dev-lang/xsb/files/xsb-3.0.1-perlmatch.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/dev-lang/xsb/files/xsb-3.0.1-perlmatch.patch b/dev-lang/xsb/files/xsb-3.0.1-perlmatch.patch
new file mode 100644
index 000000000000..7ffe9d02d7b4
--- /dev/null
+++ b/dev-lang/xsb/files/xsb-3.0.1-perlmatch.patch
@@ -0,0 +1,19 @@
+--- XSB.orig/packages/perlmatch/cc/xsbpattern.c 2003-04-16 05:16:24.000000000 +1200
++++ XSB/packages/perlmatch/cc/xsbpattern.c 2007-01-26 21:07:57.000000000 +1300
+@@ -39,6 +39,7 @@
+ #include "interface.h"
+ #include "perlpattern.c" /* pattern match basic functions */
+
++int load_perl__( void );
+ void build_sub_match_spec( void );
+ int is_global_pattern( char *);
+ int global_pattern_mode = FALSE;
+@@ -181,7 +182,7 @@
+ SV *text; /* Perl representation for the string to be
+ modified by substitution */
+ char *subst_cmd = ptoc_string(2);
+- int i;
++
+
+ /* first load the perl interpreter, if unloaded */
+ if (perlObjectStatus == UNLOADED) load_perl__();