1 |
rbrown 07/09/18 17:14:19 |
2 |
|
3 |
Added: ruby-mmap-0.2.6-oniguruma_rb_reg_regsub.patch |
4 |
Log: |
5 |
Fix compile when ruby has USE="cjk". Bug #191203 thanks to : Brenden Matthews. Keyword ~amd64 |
6 |
(Portage version: 2.1.3.9) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 dev-ruby/ruby-mmap/files/ruby-mmap-0.2.6-oniguruma_rb_reg_regsub.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/ruby-mmap/files/ruby-mmap-0.2.6-oniguruma_rb_reg_regsub.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/ruby-mmap/files/ruby-mmap-0.2.6-oniguruma_rb_reg_regsub.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: ruby-mmap-0.2.6-oniguruma_rb_reg_regsub.patch |
15 |
=================================================================== |
16 |
--- mmap.c.orig Thu Feb 1 14:52:50 2007 |
17 |
+++ mmap.c Thu Feb 1 14:55:16 2007 |
18 |
@@ -1113,7 +1113,7 @@ |
19 |
} |
20 |
else { |
21 |
RSTRING(str)->ptr += start; |
22 |
- repl = rb_reg_regsub(repl, str, regs); |
23 |
+ repl = rb_reg_regsub(repl, str, regs, pat); |
24 |
RSTRING(str)->ptr -= start; |
25 |
} |
26 |
if (OBJ_TAINTED(repl)) tainted = 1; |
27 |
@@ -1211,7 +1211,7 @@ |
28 |
} |
29 |
else { |
30 |
RSTRING(str)->ptr += start; |
31 |
- val = rb_reg_regsub(repl, str, regs); |
32 |
+ val = rb_reg_regsub(repl, str, regs, pat); |
33 |
RSTRING(str)->ptr -= start; |
34 |
} |
35 |
if (OBJ_TAINTED(repl)) tainted = 1; |
36 |
|
37 |
|
38 |
|
39 |
-- |
40 |
gentoo-commits@g.o mailing list |