From: | "Hans de Graaff (graaff)" <graaff@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-ruby/rdoc/files: rdoc-3.0.1-bin-require.patch |
Date: | Tue, 28 Dec 2010 07:40:57 |
Message-Id: | 20101228074047.C493220054@flycatcher.gentoo.org |
1 | graaff 10/12/28 07:40:47 |
2 | |
3 | Added: rdoc-3.0.1-bin-require.patch |
4 | Log: |
5 | Fix include path for script, thanks for James le Cuirot for the patch. |
6 | |
7 | (Portage version: 2.1.9.25/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 dev-ruby/rdoc/files/rdoc-3.0.1-bin-require.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rdoc/files/rdoc-3.0.1-bin-require.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rdoc/files/rdoc-3.0.1-bin-require.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: rdoc-3.0.1-bin-require.patch |
16 | =================================================================== |
17 | Make sure the right version of the code is loaded. Without this the |
18 | rdoc version bundled with ruby is always loaded instead. Reported |
19 | upstream but won't be fixed because rubygems has slightly different |
20 | behavior. |
21 | |
22 | http://rubyforge.org/tracker/index.php?func=detail&aid=28758&group_id=627&atid=2472 |
23 | |
24 | |
25 | Index: trunk/bin/rdoc |
26 | =================================================================== |
27 | --- trunk/bin/rdoc (revision 650) |
28 | +++ trunk/bin/rdoc (working copy) |
29 | @@ -8,6 +8,7 @@ |
30 | # |
31 | # $Revision: 1.1 $ |
32 | |
33 | +$:.unshift(File.dirname(__FILE__) + '/../lib') unless $:.include?(File.dirname(__FILE__) + '/../lib') |
34 | require 'rdoc/rdoc' |
35 | |
36 | begin |