From 2bb196dea45944430dd843560aab91e46c1359ba Mon Sep 17 00:00:00 2001 From: Matsuu Takuto Date: Sat, 29 May 2010 16:21:09 +0000 Subject: Convert to ruby-ng. (Portage version: 2.1.8.3/cvs/Linux x86_64) --- dev-ruby/refe/files/refe-0.8.0-ruby19.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 dev-ruby/refe/files/refe-0.8.0-ruby19.patch (limited to 'dev-ruby/refe/files') 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) -- cgit v1.2.3-65-gdbad