summaryrefslogtreecommitdiff
path: root/textproc/rubygem-gitlab-grit/files/patch-gemspec
diff options
context:
space:
mode:
authorTorsten Zuehlsdorff <tz@FreeBSD.org>2016-06-20 16:05:17 +0000
committerTorsten Zuehlsdorff <tz@FreeBSD.org>2016-06-20 16:05:17 +0000
commita35ba13770957a577275c3575d979457605f2aff (patch)
treee8828c3c1a77c52da39c91c0e81be4d7ec394ceb /textproc/rubygem-gitlab-grit/files/patch-gemspec
parent- Update to 1.651.3 (diff)
textproc/rubygem-gitlab-grit: make it work with rubygem-mime-types again
The update of misc/rubygem-mime-types break this port, because it is not allowed to work with mime-types version >= 3. I removed this limitation since the port works fine with newer version of mime-types. Approved by: swills (mentor)
Notes
Notes: svn path=/head/; revision=417165
Diffstat (limited to 'textproc/rubygem-gitlab-grit/files/patch-gemspec')
-rw-r--r--textproc/rubygem-gitlab-grit/files/patch-gemspec11
1 files changed, 11 insertions, 0 deletions
diff --git a/textproc/rubygem-gitlab-grit/files/patch-gemspec b/textproc/rubygem-gitlab-grit/files/patch-gemspec
new file mode 100644
index 000000000000..f0df6a2bfb26
--- /dev/null
+++ b/textproc/rubygem-gitlab-grit/files/patch-gemspec
@@ -0,0 +1,11 @@
+--- gitlab-grit.gemspec.orig 2016-06-20 14:45:29 UTC
++++ gitlab-grit.gemspec
+@@ -25,7 +25,7 @@ Gem::Specification.new do |s|
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
+ s.add_runtime_dependency(%q<charlock_holmes>.freeze, ["~> 0.6"])
+ s.add_runtime_dependency(%q<posix-spawn>.freeze, ["~> 0.3"])
+- s.add_runtime_dependency(%q<mime-types>.freeze, ["< 3", ">= 1.16"])
++ s.add_runtime_dependency(%q<mime-types>.freeze, [">= 1.16"])
+ s.add_runtime_dependency(%q<diff-lcs>.freeze, ["~> 1.1"])
+ s.add_development_dependency(%q<mocha>.freeze, [">= 0"])
+ else