git: 44bd2422072b - main - print/rubygem-ttfunk: Fix gemspec for rubygem-bigdecimal 4.0.0 update
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 30 Dec 2025 13:34:21 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=44bd2422072b2e57f61971a66a2566abb7d54d5f
commit 44bd2422072b2e57f61971a66a2566abb7d54d5f
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-12-30 13:24:04 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-12-30 13:29:56 +0000
print/rubygem-ttfunk: Fix gemspec for rubygem-bigdecimal 4.0.0 update
- Bump PORTREVISION for package change
---
print/rubygem-ttfunk/Makefile | 3 ++-
print/rubygem-ttfunk/files/patch-gemspec | 11 +++++++++++
2 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/print/rubygem-ttfunk/Makefile b/print/rubygem-ttfunk/Makefile
index 439eac1c7fd7..1e059b4cfe4a 100644
--- a/print/rubygem-ttfunk/Makefile
+++ b/print/rubygem-ttfunk/Makefile
@@ -1,5 +1,6 @@
PORTNAME= ttfunk
PORTVERSION= 1.8.0
+PORTREVISION= 1
CATEGORIES= print rubygems
MASTER_SITES= RG
@@ -13,7 +14,7 @@ LICENSE_FILE_GPLv2= ${WRKSRC}/GPLv2
LICENSE_FILE_GPLv3= ${WRKSRC}/GPLv3
LICENSE_FILE_RUBY= ${WRKSRC}/LICENSE
-RUN_DEPENDS= rubygem-bigdecimal>=3.1<4:math/rubygem-bigdecimal
+RUN_DEPENDS= rubygem-bigdecimal>=3.1<5:math/rubygem-bigdecimal
USES= gem
diff --git a/print/rubygem-ttfunk/files/patch-gemspec b/print/rubygem-ttfunk/files/patch-gemspec
new file mode 100644
index 000000000000..8b69a5fd27e0
--- /dev/null
+++ b/print/rubygem-ttfunk/files/patch-gemspec
@@ -0,0 +1,11 @@
+--- ttfunk.gemspec.orig 2025-12-29 04:22:42 UTC
++++ ttfunk.gemspec
+@@ -22,7 +22,7 @@ Gem::Specification.new do |s|
+
+ s.specification_version = 4
+
+- s.add_runtime_dependency(%q<bigdecimal>.freeze, ["~> 3.1".freeze])
++ s.add_runtime_dependency(%q<bigdecimal>.freeze, [">= 3.1".freeze, "< 5".freeze])
+ s.add_development_dependency(%q<prawn-dev>.freeze, ["~> 0.4.0".freeze])
+ end
+