diff options
Diffstat (limited to 'dev-ruby/rdoc/files/rdoc-3.0.1-bin-require.patch')
-rw-r--r-- | dev-ruby/rdoc/files/rdoc-3.0.1-bin-require.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/dev-ruby/rdoc/files/rdoc-3.0.1-bin-require.patch b/dev-ruby/rdoc/files/rdoc-3.0.1-bin-require.patch new file mode 100644 index 000000000000..5159125c85fa --- /dev/null +++ b/dev-ruby/rdoc/files/rdoc-3.0.1-bin-require.patch @@ -0,0 +1,20 @@ +Make sure the right version of the code is loaded. Without this the +rdoc version bundled with ruby is always loaded instead. Reported +upstream but won't be fixed because rubygems has slightly different +behavior. + +http://rubyforge.org/tracker/index.php?func=detail&aid=28758&group_id=627&atid=2472 + + +Index: trunk/bin/rdoc +=================================================================== +--- trunk/bin/rdoc (revision 650) ++++ trunk/bin/rdoc (working copy) +@@ -8,6 +8,7 @@ + # + # $Revision: 1.1 $ + ++$:.unshift(File.dirname(__FILE__) + '/../lib') unless $:.include?(File.dirname(__FILE__) + '/../lib') + require 'rdoc/rdoc' + + begin |