diff options
| author | Palica <palica+gitlab@liguros.net> | 2020-06-23 22:35:08 +0200 |
|---|---|---|
| committer | Palica <palica+gitlab@liguros.net> | 2020-06-23 22:35:08 +0200 |
| commit | ecdac123787b96ce6649f0f91da12ea6458cc2b1 (patch) | |
| tree | b89c74d9e6fe6e8aebc4c77bcbeb4ab73214127d /dev-ruby/ruby-romkan/files/ruby-romkan-ruby19.patch | |
| parent | 1be72aa41cf41dedadeecf59dca9f01de6381f5e (diff) | |
| download | baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.gz baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.xz baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.zip | |
Updating liguros repo
Diffstat (limited to 'dev-ruby/ruby-romkan/files/ruby-romkan-ruby19.patch')
| -rw-r--r-- | dev-ruby/ruby-romkan/files/ruby-romkan-ruby19.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/dev-ruby/ruby-romkan/files/ruby-romkan-ruby19.patch b/dev-ruby/ruby-romkan/files/ruby-romkan-ruby19.patch new file mode 100644 index 000000000000..4ae355749281 --- /dev/null +++ b/dev-ruby/ruby-romkan/files/ruby-romkan-ruby19.patch @@ -0,0 +1,32 @@ +--- romkan.rb 2002-02-12 02:45:16.000000000 +0100 ++++ romkan.rb 2012-06-25 10:15:59.723542130 +0200 +@@ -1,3 +1,4 @@ ++# -*- encoding:euc-jp -*- + # + # Ruby/Romkan - a Romaji <-> Kana conversion library for Ruby. + # +@@ -209,13 +210,13 @@ + HEPPAT = HEPBURN.sort {|a, b| b.length <=> a.length }.join "|" + + TO_HEPBURN = (romrom = Hash.new +- KUNREI.each_with_index {|x, i| +- romrom[KUNREI[i]] = HEPBURN[i]} ++ KUNREI.each_with_index {|x, j| ++ romrom[KUNREI[j]] = HEPBURN[j]} + romrom) + + TO_KUNREI = (romrom = Hash.new +- HEPBURN.each_with_index {|x, i| +- romrom[HEPBURN[i]] = KUNREI[i]} ++ HEPBURN.each_with_index {|x, j| ++ romrom[HEPBURN[j]] = KUNREI[j]} + romrom) + + # FIXME: ad hod solution +--- test.rb 2002-02-12 02:45:25.000000000 +0100 ++++ test.rb 2012-06-25 10:13:51.832021574 +0200 +@@ -1,3 +1,4 @@ ++# -*- encoding:euc-jp -*- + # + # ruby -Ke test.rb </dev/null && echo ok + # |
