From a283ba038df06460814a5e82658a1e390784cd25 Mon Sep 17 00:00:00 2001 From: Mamoru Komachi Date: Wed, 24 Dec 2003 22:18:22 +0000 Subject: Marked as stable. Added a patch to make prime running on ruby 1.8 --- dev-ruby/sary-ruby/ChangeLog | 7 ++++++- dev-ruby/sary-ruby/Manifest | 7 +++---- .../sary-ruby/files/sary-ruby-0.5_pre20030507-gentoo.diff | 13 +++++++++++++ dev-ruby/sary-ruby/sary-ruby-0.5_pre20030507.ebuild | 5 +++-- 4 files changed, 25 insertions(+), 7 deletions(-) create mode 100644 dev-ruby/sary-ruby/files/sary-ruby-0.5_pre20030507-gentoo.diff (limited to 'dev-ruby') diff --git a/dev-ruby/sary-ruby/ChangeLog b/dev-ruby/sary-ruby/ChangeLog index fcb93148dbd0..b2898f97d88d 100644 --- a/dev-ruby/sary-ruby/ChangeLog +++ b/dev-ruby/sary-ruby/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-ruby/sary-ruby # Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sary-ruby/ChangeLog,v 1.1 2003/11/03 11:04:42 usata Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sary-ruby/ChangeLog,v 1.2 2003/12/24 22:18:13 usata Exp $ + + 25 Dec 2003; Mamoru KOMACHI + sary-ruby-0.5_pre20030507.ebuild, + files/sary-ruby-0.5_pre20030507-gentoo.diff: + Marked as stable. Added a patch to make prime running on ruby 1.8 *sary-ruby-0.5_pre20030507 (03 Nov 2003) diff --git a/dev-ruby/sary-ruby/Manifest b/dev-ruby/sary-ruby/Manifest index 38f21e6c3ee9..291a6e674e6e 100644 --- a/dev-ruby/sary-ruby/Manifest +++ b/dev-ruby/sary-ruby/Manifest @@ -1,6 +1,5 @@ MD5 e5c9f896d0f29ffd4c705f0f40771bd6 metadata.xml 248 -MD5 a40f5680e7d9ba3b3a576b6e6eaf406f sary-ruby-0.5_pre20030507.ebuild 634 -MD5 35b782ee20d5a5bdf34f1824b5ccfc29 ChangeLog 435 -MD5 a40f5680e7d9ba3b3a576b6e6eaf406f sary-ruby-0.5_pre20030426.ebuild 634 +MD5 9fbae483a5883243484b2e2ae2e8b03c sary-ruby-0.5_pre20030507.ebuild 672 +MD5 02586d245f454dd0b3117a3da084a620 ChangeLog 636 MD5 d11432395695c3eca31fdd06e32074ae files/digest-sary-ruby-0.5_pre20030507 73 -MD5 d44c635e8fb328a817948940699b78c1 files/digest-sary-ruby-0.5_pre20030426 73 +MD5 6df30387127225c6e18962dcea10efa1 files/sary-ruby-0.5_pre20030507-gentoo.diff 445 diff --git a/dev-ruby/sary-ruby/files/sary-ruby-0.5_pre20030507-gentoo.diff b/dev-ruby/sary-ruby/files/sary-ruby-0.5_pre20030507-gentoo.diff new file mode 100644 index 000000000000..16cd50082d29 --- /dev/null +++ b/dev-ruby/sary-ruby/files/sary-ruby-0.5_pre20030507-gentoo.diff @@ -0,0 +1,13 @@ +diff -urN sary-ruby.ORIG/searcher.c sary-ruby/searcher.c +--- sary-ruby.ORIG/searcher.c 2002-11-24 04:05:00.000000000 +0900 ++++ sary-ruby/searcher.c 2003-12-25 06:13:47.000000000 +0900 +@@ -119,7 +119,8 @@ + GET_Searcher(klass, searcher); + + Check_SafeStr(pattern); +- pat = str2cstr(pattern, &len); ++ pat = RSTRING(pattern)->ptr; ++ len = RSTRING(pattern)->len; + + if (sary_searcher_search2(searcher, pat, len)) + return Qtrue; diff --git a/dev-ruby/sary-ruby/sary-ruby-0.5_pre20030507.ebuild b/dev-ruby/sary-ruby/sary-ruby-0.5_pre20030507.ebuild index 68089e766b9d..8aca6dc86104 100644 --- a/dev-ruby/sary-ruby/sary-ruby-0.5_pre20030507.ebuild +++ b/dev-ruby/sary-ruby/sary-ruby-0.5_pre20030507.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sary-ruby/sary-ruby-0.5_pre20030507.ebuild,v 1.4 2003/11/16 19:27:24 usata Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sary-ruby/sary-ruby-0.5_pre20030507.ebuild,v 1.5 2003/12/24 22:18:13 usata Exp $ inherit ruby @@ -13,9 +13,10 @@ HOMEPAGE="http://sary.namazu.org/#ruby http://taiyaki.org/prime/" SRC_URI="http://taiyaki.org/tmp/sary/${MY_PN}_${PV/*_pre/}.tar.gz" #SRC_URI="ftp://ftp.namazu.org/sary/ruby/${P}.tar.gz" +PATCHES="${FILESDIR}/${P}-gentoo.diff" LICENSE="LGPL-2.1" -KEYWORDS="~x86" +KEYWORDS="x86" SLOT="0" USE_RUBY="ruby16 ruby18" S="${WORKDIR}/${PN}" -- cgit v1.2.3-65-gdbad