git: 6bb2929c7c8b - main - devel/rubygem-ddtrace: Allow build with rubygem-debase-ruby_core_source 3.2.1

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 27 May 2023 23:54:27 UTC
The branch main has been updated by sunpoet:

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

commit 6bb2929c7c8b3404a45e9c9e83cfe58034667905
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-05-27 23:25:24 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-05-27 23:44:22 +0000

    devel/rubygem-ddtrace: Allow build with rubygem-debase-ruby_core_source 3.2.1
    
    - Bump PORTREVISION for package change
    
    Reference:      https://github.com/DataDog/dd-trace-rb/commit/7b4e8e4e518610246c7fa607687e0f64ee0e59d8
---
 devel/rubygem-ddtrace/Makefile            |  3 ++-
 devel/rubygem-ddtrace/files/patch-gemspec | 11 +++++++++++
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/devel/rubygem-ddtrace/Makefile b/devel/rubygem-ddtrace/Makefile
index 74a07888a845..bcda2c463f9d 100644
--- a/devel/rubygem-ddtrace/Makefile
+++ b/devel/rubygem-ddtrace/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	ddtrace
 PORTVERSION=	1.11.1
+PORTREVISION=	1
 CATEGORIES=	devel rubygems
 MASTER_SITES=	RG
 
@@ -12,7 +13,7 @@ LICENSE_COMB=	dual
 LICENSE_FILE_APACHE20=	${WRKSRC}/LICENSE.Apache
 LICENSE_FILE_BSD3CLAUSE=${WRKSRC}/LICENSE.BSD3
 
-RUN_DEPENDS=	rubygem-debase-ruby_core_source>=0.10.16<3.2.0_99:devel/rubygem-debase-ruby_core_source \
+RUN_DEPENDS=	rubygem-debase-ruby_core_source>=3.2.1<3.2.1_99:devel/rubygem-debase-ruby_core_source \
 		rubygem-libdatadog>=2.0.0.1.0<2.0.0.2:devel/rubygem-libdatadog \
 		rubygem-libddwaf>=1.8.2.0.0<1.8.2.1:devel/rubygem-libddwaf \
 		rubygem-msgpack>=0:devel/rubygem-msgpack
diff --git a/devel/rubygem-ddtrace/files/patch-gemspec b/devel/rubygem-ddtrace/files/patch-gemspec
new file mode 100644
index 000000000000..f58f928ea3e3
--- /dev/null
+++ b/devel/rubygem-ddtrace/files/patch-gemspec
@@ -0,0 +1,11 @@
+--- ddtrace.gemspec.orig	2023-05-27 11:40:52 UTC
++++ ddtrace.gemspec
+@@ -25,7 +25,7 @@ Gem::Specification.new do |s|
+   s.specification_version = 4
+ 
+   s.add_runtime_dependency(%q<msgpack>.freeze, [">= 0"])
+-  s.add_runtime_dependency(%q<debase-ruby_core_source>.freeze, [">= 0.10.16", "<= 3.2.0"])
++  s.add_runtime_dependency(%q<debase-ruby_core_source>.freeze, ["= 3.2.1"])
+   s.add_runtime_dependency(%q<libddwaf>.freeze, ["~> 1.8.2.0.0"])
+   s.add_runtime_dependency(%q<libdatadog>.freeze, ["~> 2.0.0.1.0"])
+ end