diff options
Diffstat (limited to 'dev-ruby/redcloth/files')
-rw-r--r-- | dev-ruby/redcloth/files/redcloth-4.2.3-gentoo.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/dev-ruby/redcloth/files/redcloth-4.2.3-gentoo.patch b/dev-ruby/redcloth/files/redcloth-4.2.3-gentoo.patch new file mode 100644 index 000000000000..c8f70dd2b8f2 --- /dev/null +++ b/dev-ruby/redcloth/files/redcloth-4.2.3-gentoo.patch @@ -0,0 +1,22 @@ +diff --git a/Rakefile b/Rakefile +index fb71b42..f643cb1 100644 +--- a/Rakefile ++++ b/Rakefile +@@ -217,6 +217,7 @@ end + + #### Custom testing tasks + ++begin + require 'rubygems' + require 'spec/rake/spectask' + Rake::Task[:default].prerequisites.clear +@@ -241,6 +242,9 @@ task :ensure_diff_lcs do + end + end + end ++rescue LoadError ++ $stderr.puts "RSpec not found, tests won't be available. Please install rspec with gem install rspec" ++end + + task :remove_other_platforms do + Dir["lib/redcloth_scan.{bundle,so,jar,rb}"].each { |file| rm file } |