git: ebf8f2d85cee - main - textproc/rubygem-gitlab-glfm-markdown: Fix gemspec for rubygem-rb_sys 0.9.108 update

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 03 Feb 2025 16:10:00 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ebf8f2d85ceece865f4c1e9f2e41429b2219f303

commit ebf8f2d85ceece865f4c1e9f2e41429b2219f303
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-02-03 15:34:08 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-02-03 15:54:21 +0000

    textproc/rubygem-gitlab-glfm-markdown: Fix gemspec for rubygem-rb_sys 0.9.108 update
    
    - Bump PORTREVISION for package change
---
 textproc/rubygem-gitlab-glfm-markdown/Makefile            |  4 ++--
 textproc/rubygem-gitlab-glfm-markdown/files/patch-gemspec | 11 +++++++++++
 2 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/textproc/rubygem-gitlab-glfm-markdown/Makefile b/textproc/rubygem-gitlab-glfm-markdown/Makefile
index 2704ab8fc6eb..c415cd447f57 100644
--- a/textproc/rubygem-gitlab-glfm-markdown/Makefile
+++ b/textproc/rubygem-gitlab-glfm-markdown/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	gitlab-glfm-markdown
 PORTVERSION=	0.0.24
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	textproc rubygems
 MASTER_SITES=	RG
 
@@ -11,7 +11,7 @@ WWW=		https://gitlab.com/gitlab-org/ruby/gems/gitlab-glfm-markdown
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-RUN_DEPENDS=	rubygem-rb_sys>=0.9.107<0.9.108:lang/rubygem-rb_sys
+RUN_DEPENDS=	rubygem-rb_sys>=0.9.107<0.9.108_99:lang/rubygem-rb_sys
 
 USES=		cargo gem gmake llvm:build
 
diff --git a/textproc/rubygem-gitlab-glfm-markdown/files/patch-gemspec b/textproc/rubygem-gitlab-glfm-markdown/files/patch-gemspec
new file mode 100644
index 000000000000..01ca423f8a9f
--- /dev/null
+++ b/textproc/rubygem-gitlab-glfm-markdown/files/patch-gemspec
@@ -0,0 +1,11 @@
+--- gitlab-glfm-markdown.gemspec.orig	2025-01-29 15:52:40 UTC
++++ gitlab-glfm-markdown.gemspec
+@@ -23,7 +23,7 @@ Gem::Specification.new do |s|
+ 
+   s.specification_version = 4
+ 
+-  s.add_runtime_dependency(%q<rb_sys>.freeze, ["= 0.9.107".freeze])
++  s.add_runtime_dependency(%q<rb_sys>.freeze, [">= 0.9.107".freeze, "<= 0.9.108".freeze])
+   s.add_development_dependency(%q<rake>.freeze, ["~> 13.0".freeze])
+   s.add_development_dependency(%q<rake-compiler>.freeze, ["~> 1.2".freeze])
+   s.add_development_dependency(%q<rake-compiler-dock>.freeze, ["~> 1.8".freeze])