aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2017-12-26 19:25:11 +0100
committerJakub Jirutka <jakub@jirutka.cz>2017-12-26 19:25:11 +0100
commit0152e9a82417e9f8a6aa3f4fc00910980e501688 (patch)
tree2eea5a85114bb31039bd38da0a0c0c2bf923f5ce
parentdc1a45df2f2af346a81c4f4ffc41c756db9ec01f (diff)
downloadaports-0152e9a82417e9f8a6aa3f4fc00910980e501688.tar.gz
aports-0152e9a82417e9f8a6aa3f4fc00910980e501688.tar.bz2
aports-0152e9a82417e9f8a6aa3f4fc00910980e501688.tar.xz
community/ruby-rdiscount: add missing patch file
-rw-r--r--community/ruby-rdiscount/fix-rakefile.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/community/ruby-rdiscount/fix-rakefile.patch b/community/ruby-rdiscount/fix-rakefile.patch
new file mode 100644
index 0000000000..9a0effd84c
--- /dev/null
+++ b/community/ruby-rdiscount/fix-rakefile.patch
@@ -0,0 +1,12 @@
+Ruby 2.5+ doesn't support option -rubygems anymore.
+
+--- a/Rakefile
++++ b/Rakefile
+@@ -53,7 +53,6 @@
+ require 'rake/testtask'
+ Rake::TestTask.new('test:unit') do |t|
+ t.test_files = FileList['test/*_test.rb']
+- t.ruby_opts += ['-rubygems'] if defined? Gem
+ end
+ task 'test:unit' => [:build]
+