aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--textproc/rubygem-gitlab-grit/Makefile1
-rw-r--r--textproc/rubygem-gitlab-grit/files/patch-gemspec11
2 files changed, 12 insertions, 0 deletions
diff --git a/textproc/rubygem-gitlab-grit/Makefile b/textproc/rubygem-gitlab-grit/Makefile
index 72b06c5bb00e..0e4bbe75096b 100644
--- a/textproc/rubygem-gitlab-grit/Makefile
+++ b/textproc/rubygem-gitlab-grit/Makefile
@@ -2,6 +2,7 @@
PORTNAME= gitlab-grit
PORTVERSION= 2.8.1
+PORTREVISION= 1
CATEGORIES= textproc rubygems
MASTER_SITES= RG
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