summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2004-08-09 02:42:25 +0000
committerMamoru Komachi <usata@gentoo.org>2004-08-09 02:42:25 +0000
commit2fd4077becc8b1d7fc745e886c5bb2dfc6597b79 (patch)
treeadcf0be7ba99a3fc71107a374cbfac411bbf8161 /dev-ruby/ruby-gtk
parentgcc-3.4 fix for transcode-0.6.11 (diff)
downloadhistorical-2fd4077becc8b1d7fc745e886c5bb2dfc6597b79.tar.gz
historical-2fd4077becc8b1d7fc745e886c5bb2dfc6597b79.tar.bz2
historical-2fd4077becc8b1d7fc745e886c5bb2dfc6597b79.zip
Fixed compile error with ruby19.
Diffstat (limited to 'dev-ruby/ruby-gtk')
-rw-r--r--dev-ruby/ruby-gtk/ChangeLog5
-rw-r--r--dev-ruby/ruby-gtk/Manifest6
-rw-r--r--dev-ruby/ruby-gtk/ruby-gtk-0.34-r1.ebuild6
3 files changed, 11 insertions, 6 deletions
diff --git a/dev-ruby/ruby-gtk/ChangeLog b/dev-ruby/ruby-gtk/ChangeLog
index 3121b495d2d5..5b186e69435d 100644
--- a/dev-ruby/ruby-gtk/ChangeLog
+++ b/dev-ruby/ruby-gtk/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-ruby/ruby-gtk
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-gtk/ChangeLog,v 1.17 2004/07/01 10:26:11 usata Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-gtk/ChangeLog,v 1.18 2004/08/09 02:42:25 usata Exp $
+
+ 09 Aug 2004; Mamoru KOMACHI <usata@gentoo.org> ruby-gtk-0.34-r1.ebuild:
+ Fixed compile error with ruby19.
01 Jul 2004; Mamoru KOMACHI <usata@gentoo.org> ruby-gtk-0.30.ebuild,
ruby-gtk-0.34-r1.ebuild, ruby-gtk-0.34.ebuild:
diff --git a/dev-ruby/ruby-gtk/Manifest b/dev-ruby/ruby-gtk/Manifest
index 3e8ec81c4b69..cbe59320c2e9 100644
--- a/dev-ruby/ruby-gtk/Manifest
+++ b/dev-ruby/ruby-gtk/Manifest
@@ -1,8 +1,8 @@
-MD5 9d0b975d67191833eaefdd0e2324e2a9 ruby-gtk-0.34.ebuild 738
-MD5 ce81c6e2dc15ef9f8de5fd86131b849c ruby-gtk-0.34-r1.ebuild 673
-MD5 aa05ddbe2beea7113a6e823e53a8d502 ChangeLog 2743
+MD5 1db61736e253e012fbb42a3e507030f3 ChangeLog 2853
MD5 3eec9f3fe48b51f49dbc1f171a3b026f metadata.xml 157
MD5 31eced7377ce39c71ebe397b3c2367c1 ruby-gtk-0.30.ebuild 738
+MD5 9d0b975d67191833eaefdd0e2324e2a9 ruby-gtk-0.34.ebuild 738
+MD5 88016dbf17a09abfb1d60acfefb6dd40 ruby-gtk-0.34-r1.ebuild 726
MD5 3b4706cc9d3b5cb2d9d5ec941909a5a2 files/digest-ruby-gtk-0.30 70
MD5 9c06484497032c542eb25fda52406232 files/digest-ruby-gtk-0.34 71
MD5 9c06484497032c542eb25fda52406232 files/digest-ruby-gtk-0.34-r1 71
diff --git a/dev-ruby/ruby-gtk/ruby-gtk-0.34-r1.ebuild b/dev-ruby/ruby-gtk/ruby-gtk-0.34-r1.ebuild
index 95b46e0b69c9..f088cf3ffa5f 100644
--- a/dev-ruby/ruby-gtk/ruby-gtk-0.34-r1.ebuild
+++ b/dev-ruby/ruby-gtk/ruby-gtk-0.34-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-gtk/ruby-gtk-0.34-r1.ebuild,v 1.10 2004/07/14 22:08:51 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-gtk/ruby-gtk-0.34-r1.ebuild,v 1.11 2004/08/09 02:42:25 usata Exp $
inherit ruby-gnome2 ruby
@@ -22,5 +22,7 @@ src_unpack() {
unpack ${A}
cd ${S}
- sed -i -e "s/PLATFORM/RUBY_PLATFORM/g" extconf.rb
+
+ ruby -i -pe 'sub "PLATFORM","RUBY_PLATFORM"' \
+ extconf.rb src/makedefconst.rb || "substitution failed"
}