SOURCES: ruby-oniguruma-258-186.patch - add missing variable

aredridel aredridel at pld-linux.org
Tue Feb 20 06:53:01 CET 2007


Author: aredridel                    Date: Tue Feb 20 05:53:01 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- add missing variable

---- Files affected:
SOURCES:
   ruby-oniguruma-258-186.patch (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/ruby-oniguruma-258-186.patch
diff -u SOURCES/ruby-oniguruma-258-186.patch:1.1 SOURCES/ruby-oniguruma-258-186.patch:1.2
--- SOURCES/ruby-oniguruma-258-186.patch:1.1	Tue Feb 20 06:24:55 2007
+++ SOURCES/ruby-oniguruma-258-186.patch	Tue Feb 20 06:52:56 2007
@@ -1,6 +1,6 @@
 diff -urN oniguruma-185/Makefile.in oniguruma/Makefile.in
 --- oniguruma-185/Makefile.in	2006-11-07 22:45:50.000000000 -0700
-+++ oniguruma/Makefile.in	2007-02-19 22:21:41.000000000 -0700
++++ oniguruma/Makefile.in	2007-02-19 22:34:07.000000000 -0700
 @@ -214,7 +214,10 @@
  185: cpruby
  	patch -d $(RUBYDIR) -p0 < $(srcdir)/ruby185.patch
@@ -15,8 +15,8 @@
  SORIG = ruby_orig
 diff -urN oniguruma-185/ruby186.patch oniguruma/ruby186.patch
 --- oniguruma-185/ruby186.patch	1969-12-31 17:00:00.000000000 -0700
-+++ oniguruma/ruby186.patch	2007-02-19 22:21:18.000000000 -0700
-@@ -0,0 +1,319 @@
++++ oniguruma/ruby186.patch	2007-02-19 22:34:54.000000000 -0700
+@@ -0,0 +1,321 @@
 +--- gc.c.ruby_orig	2006-08-25 17:12:46.000000000 +0900
 ++++ gc.c	2006-11-08 14:11:06.000000000 +0900
 +@@ -968,6 +968,7 @@ gc_mark_children(ptr, lev)
@@ -45,11 +45,13 @@
 + long rb_reg_adjust_startpos _((VALUE, VALUE, long, long));
 + void rb_match_busy _((VALUE));
 + VALUE rb_reg_quote _((VALUE));
-+--- re.c.orig	2007-02-12 16:01:19.000000000 -0700
-++++ re.c	2007-02-19 22:13:28.000000000 -0700
-+@@ -487,9 +487,10 @@
++--- re.c.ruby_orig	2007-02-12 16:01:19.000000000 -0700
+++++ re.c	2007-02-19 22:32:31.000000000 -0700
++@@ -486,10 +486,12 @@
++ 	}
 + 	if (*ptr == ':' && ptr[len-1] == ')') {
 + 	    Regexp *rp;
+++			int r;
 + 	    rb_kcode_set_option(re);
 +-	    rp = ALLOC(Regexp);
 +-	    MEMZERO((char *)rp, Regexp, 1);
@@ -61,7 +63,7 @@
 + 	    rb_kcode_reset_option();
 + 	    re_free_pattern(rp);
 + 	}
-+@@ -623,7 +624,9 @@
++@@ -623,7 +625,9 @@
 +     int flags;
 + {
 +     Regexp *rp;
@@ -72,7 +74,7 @@
 + 
 +     /* Handle escaped characters first. */
 + 
-+@@ -632,17 +635,18 @@
++@@ -632,17 +636,18 @@
 +        from that.
 +     */
 + 
@@ -98,7 +100,7 @@
 + 	re_free_pattern(rp);
 + 	rb_reg_raise(s, len, err, 0);
 + 	return 0;
-+@@ -676,6 +680,7 @@
++@@ -676,6 +681,7 @@
 + 
 +     match->str = 0;
 +     match->regs = 0;
@@ -106,7 +108,7 @@
 +     match->regs = ALLOC(struct re_registers);
 +     MEMZERO(match->regs, struct re_registers, 1);
 + 
-+@@ -693,6 +698,7 @@
++@@ -693,6 +699,7 @@
 + 	rb_raise(rb_eTypeError, "wrong argument class");
 +     }
 +     RMATCH(obj)->str = RMATCH(orig)->str;
@@ -114,7 +116,7 @@
 +     re_free_registers(RMATCH(obj)->regs);
 +     RMATCH(obj)->regs->allocated = 0;
 +     re_copy_registers(RMATCH(obj)->regs, RMATCH(orig)->regs);
-+@@ -846,14 +852,15 @@
++@@ -846,14 +853,15 @@
 +     }
 + 
 +     if (need_recompile) {
@@ -134,7 +136,7 @@
 + 	    rb_reg_raise(RREGEXP(re)->str, RREGEXP(re)->len, err, re);
 + 	}
 +     }
-+@@ -920,14 +927,16 @@
++@@ -920,14 +928,16 @@
 +     if (FL_TEST(re, KCODE_FIXED))
 + 	rb_kcode_reset_option();
 + 
@@ -158,7 +160,7 @@
 +     }
 + 
 +     match = rb_backref_get();
-+@@ -943,6 +952,7 @@
++@@ -943,6 +953,7 @@
 + 
 +     re_copy_registers(RMATCH(match)->regs, &regs);
 +     RMATCH(match)->str = rb_str_new4(str);
@@ -166,7 +168,7 @@
 +     rb_backref_set(match);
 + 
 +     OBJ_INFECT(match, re);
-+@@ -1170,6 +1180,23 @@
++@@ -1170,6 +1181,23 @@
 + }
 + 
 + 
@@ -190,7 +192,7 @@
 + /*
 +  *  call-seq:
 +  *     mtch[i]               => obj
-+@@ -1199,10 +1226,37 @@
++@@ -1199,10 +1227,37 @@
 + 
 +     rb_scan_args(argc, argv, "11", &idx, &rest);
 + 
@@ -231,7 +233,7 @@
 + }
 + 
 + static VALUE match_entry _((VALUE, long));
-+@@ -2001,12 +2055,14 @@
++@@ -2001,12 +2056,14 @@
 + }
 + 
 + VALUE
@@ -248,7 +250,7 @@
 +     int no;
 + 
 +     p = s = RSTRING(str)->ptr;
-+@@ -2015,12 +2071,12 @@
++@@ -2015,12 +2072,12 @@
 +     while (s < e) {
 + 	char *ss = s;
 + 
@@ -265,7 +267,7 @@
 + 
 + 	if (!val) {
 + 	    val = rb_str_buf_new(ss-p);
-+@@ -2030,13 +2086,38 @@
++@@ -2030,13 +2087,38 @@
 + 	    rb_str_buf_cat(val, p, ss-p);
 + 	}
 + 
@@ -308,7 +310,7 @@
 + 	  case '&':
 + 	    no = 0;
 + 	    break;
-+@@ -2282,6 +2363,7 @@
++@@ -2282,6 +2364,7 @@
 +     rb_define_const(rb_cRegexp, "IGNORECASE", INT2FIX(RE_OPTION_IGNORECASE));
 +     rb_define_const(rb_cRegexp, "EXTENDED", INT2FIX(RE_OPTION_EXTENDED));
 +     rb_define_const(rb_cRegexp, "MULTILINE", INT2FIX(RE_OPTION_MULTILINE));
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/ruby-oniguruma-258-186.patch?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list