diff options
author | 2010-12-28 07:40:47 +0000 | |
---|---|---|
committer | 2010-12-28 07:40:47 +0000 | |
commit | 767d66db4b44153732acc9ae582a9eda19f5876f (patch) | |
tree | 90a40ca450eec8662ee97a4061c4f1cefadcfd23 /dev-ruby/rdoc/files/rdoc-3.0.1-bin-require.patch | |
parent | Updated with some minor QA fixes for bug 349458. (diff) | |
download | historical-767d66db4b44153732acc9ae582a9eda19f5876f.tar.gz historical-767d66db4b44153732acc9ae582a9eda19f5876f.tar.bz2 historical-767d66db4b44153732acc9ae582a9eda19f5876f.zip |
Fix include path for script, thanks for James le Cuirot for the patch.
Package-Manager: portage-2.1.9.25/cvs/Linux x86_64
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 |