From a2fdf66e54f6ad482098ab2c906a5f1aeee47249 Mon Sep 17 00:00:00 2001 From: Antoine Brodin Date: Sun, 27 Oct 2024 12:02:21 +0000 Subject: [PATCH] security/rubygem-origami: fix depends with recent ruby --- security/rubygem-origami/Makefile | 5 ++++- security/rubygem-origami/files/patch-origami.gemspec | 11 +++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 security/rubygem-origami/files/patch-origami.gemspec diff --git a/security/rubygem-origami/Makefile b/security/rubygem-origami/Makefile index 4fa3550f1325..cf84fec9d66f 100644 --- a/security/rubygem-origami/Makefile +++ b/security/rubygem-origami/Makefile @@ -1,5 +1,6 @@ PORTNAME= origami PORTVERSION= 2.1.0 +PORTREVISION= 1 CATEGORIES= security rubygems MASTER_SITES= RG @@ -10,7 +11,9 @@ WWW= https://github.com/gdelugre/origami LICENSE= LGPL3+ LICENSE_FILE= ${WRKSRC}/COPYING.LESSER -RUN_DEPENDS= rubygem-colorize>=0.7:devel/rubygem-colorize +RUN_DEPENDS= rubygem-colorize>=0.7:devel/rubygem-colorize \ + rubygem-matrix>=0:math/rubygem-matrix \ + rubygem-rexml>=0:textproc/rubygem-rexml NO_ARCH= yes diff --git a/security/rubygem-origami/files/patch-origami.gemspec b/security/rubygem-origami/files/patch-origami.gemspec new file mode 100644 index 000000000000..383620a1d54e --- /dev/null +++ b/security/rubygem-origami/files/patch-origami.gemspec @@ -0,0 +1,11 @@ +--- origami.gemspec.orig 2024-10-27 10:40:09 UTC ++++ origami.gemspec +@@ -22,7 +22,7 @@ Gem::Specification.new do |s| + + s.specification_version = 4 + +- s.add_runtime_dependency(%q.freeze, ["~> 0.7".freeze]) ++ s.add_runtime_dependency(%q.freeze, [">= 0.7".freeze]) + s.add_development_dependency(%q.freeze, ["~> 5.0".freeze]) + end +