summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatsuu Takuto <matsuu@gentoo.org>2010-05-29 16:21:09 +0000
committerMatsuu Takuto <matsuu@gentoo.org>2010-05-29 16:21:09 +0000
commit2bb196dea45944430dd843560aab91e46c1359ba (patch)
treeb053ba72722d2d1948084c67974487e6c846e52c /dev-ruby/refe/files
parentx86 stable wrt security bug #315235 (diff)
downloadgentoo-2-2bb196dea45944430dd843560aab91e46c1359ba.tar.gz
gentoo-2-2bb196dea45944430dd843560aab91e46c1359ba.tar.bz2
gentoo-2-2bb196dea45944430dd843560aab91e46c1359ba.zip
Convert to ruby-ng.
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/refe/files')
-rw-r--r--dev-ruby/refe/files/refe-0.8.0-ruby19.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/dev-ruby/refe/files/refe-0.8.0-ruby19.patch b/dev-ruby/refe/files/refe-0.8.0-ruby19.patch
new file mode 100644
index 000000000000..9b4b3fd8104b
--- /dev/null
+++ b/dev-ruby/refe/files/refe-0.8.0-ruby19.patch
@@ -0,0 +1,12 @@
+diff -Naur refe-0.8.0.orig/lib/refe/mygetopt.rb refe-0.8.0/lib/refe/mygetopt.rb
+--- refe-0.8.0.orig/lib/refe/mygetopt.rb 2003-04-02 07:38:41.000000000 +0900
++++ refe-0.8.0/lib/refe/mygetopt.rb 2010-05-30 00:54:04.000000000 +0900
+@@ -11,7 +11,7 @@
+ alias orignew new
+
+ def new( usage, descripter )
+- parser = orignew( * descripter.map {|line|
++ parser = orignew( * descripter.split(/^/).map {|line|
+ line.strip!
+ next if line.empty?
+ display, shortopt, longopt, takearg, doc = line.split(/\s+/, 5)