Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-commits
Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-commits@g.o
From: "Richard Brown (rbrown)" <rbrown@g.o>
Subject: gentoo-x86 commit in dev-ruby/ruby-mmap/files: ruby-mmap-0.2.6-oniguruma_rb_reg_regsub.patch
Date: Tue, 18 Sep 2007 17:14:19 +0000
rbrown      07/09/18 17:14:19

  Added:                ruby-mmap-0.2.6-oniguruma_rb_reg_regsub.patch
  Log:
  Fix compile when ruby has USE="cjk". Bug #191203 thanks to : Brenden Matthews. Keyword ~amd64
  (Portage version: 2.1.3.9)

Revision  Changes    Path
1.1                  dev-ruby/ruby-mmap/files/ruby-mmap-0.2.6-oniguruma_rb_reg_regsub.patch

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
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

Index: ruby-mmap-0.2.6-oniguruma_rb_reg_regsub.patch
===================================================================
--- mmap.c.orig	Thu Feb  1 14:52:50 2007
+++ mmap.c	Thu Feb  1 14:55:16 2007
@@ -1113,7 +1113,7 @@
 	}
 	else {
 	    RSTRING(str)->ptr += start;
-	    repl = rb_reg_regsub(repl, str, regs);
+	    repl = rb_reg_regsub(repl, str, regs, pat);
 	    RSTRING(str)->ptr -= start;
 	}
 	if (OBJ_TAINTED(repl)) tainted = 1;
@@ -1211,7 +1211,7 @@
 	}
 	else {
 	    RSTRING(str)->ptr += start;
-	    val = rb_reg_regsub(repl, str, regs);
+	    val = rb_reg_regsub(repl, str, regs, pat);
 	    RSTRING(str)->ptr -= start;
 	}
 	if (OBJ_TAINTED(repl)) tainted = 1;



-- 
gentoo-commits@g.o mailing list


Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
gentoo-x86 commit in app-pda/jpilot-Mail/files: jpilot-Mail-0.1.7.patch digest-jpilot-Mail-0.1.7
Next by thread:
gentoo-x86 commit in dev-ruby/ruby-mmap: ruby-mmap-0.2.6.ebuild ChangeLog
Previous by date:
gentoo-x86 commit in app-pda/jpilot-Mail/files: jpilot-Mail-0.1.7.patch digest-jpilot-Mail-0.1.7
Next by date:
gentoo-x86 commit in dev-ruby/ruby-mmap: ruby-mmap-0.2.6.ebuild ChangeLog


Updated Jun 06, 2011

Summary: Archive of the gentoo-commits mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.