From a380001f3ad1d8dcbddd759295ffe6569a4a8eb7 Mon Sep 17 00:00:00 2001 From: Po-Chuan Hsieh Date: Tue, 8 Mar 2022 02:09:57 +0800 Subject: [PATCH] x11-toolkits/rubygem-gtk2: Allow build with newer dependencies - Bump PORTREVISION for package change PR: 258338 Reported by: dinoex --- x11-toolkits/rubygem-gtk2/Makefile | 1 + x11-toolkits/rubygem-gtk2/files/patch-gemspec | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 x11-toolkits/rubygem-gtk2/files/patch-gemspec diff --git a/x11-toolkits/rubygem-gtk2/Makefile b/x11-toolkits/rubygem-gtk2/Makefile index e7ba2fe3a580..a7b88d7a6fe4 100644 --- a/x11-toolkits/rubygem-gtk2/Makefile +++ b/x11-toolkits/rubygem-gtk2/Makefile @@ -1,5 +1,6 @@ PORTNAME= gtk2 PORTVERSION= 3.4.3 +PORTREVISION= 1 CATEGORIES= x11-toolkits rubygems MASTER_SITES= RG diff --git a/x11-toolkits/rubygem-gtk2/files/patch-gemspec b/x11-toolkits/rubygem-gtk2/files/patch-gemspec new file mode 100644 index 000000000000..db338352debd --- /dev/null +++ b/x11-toolkits/rubygem-gtk2/files/patch-gemspec @@ -0,0 +1,15 @@ +--- gtk2.gemspec.orig 2022-03-06 22:30:50 UTC ++++ gtk2.gemspec +@@ -25,9 +25,9 @@ Gem::Specification.new do |s| + end + + if s.respond_to? :add_runtime_dependency then +- s.add_runtime_dependency(%q.freeze, ["= 3.4.3"]) +- s.add_runtime_dependency(%q.freeze, ["= 3.4.3"]) +- s.add_runtime_dependency(%q.freeze, ["= 3.4.3"]) ++ s.add_runtime_dependency(%q.freeze, [">= 3.4.3"]) ++ s.add_runtime_dependency(%q.freeze, [">= 3.4.3"]) ++ s.add_runtime_dependency(%q.freeze, [">= 3.4.3"]) + else + s.add_dependency(%q.freeze, ["= 3.4.3"]) + s.add_dependency(%q.freeze, ["= 3.4.3"])