Date: Tue, 6 Jun 2023 03:33:41 GMT From: Matthias Fechner <mfechner@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: d9c7bd925458 - main - devel/rubygem-i18n: fix frozen string Message-ID: <202306060333.3563XfNY027286@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by mfechner: URL: https://cgit.FreeBSD.org/ports/commit/?id=d9c7bd925458d6d51ddbdafe03cf1e5a1a422c16 commit d9c7bd925458d6d51ddbdafe03cf1e5a1a422c16 Author: Matthias Fechner <mfechner@FreeBSD.org> AuthorDate: 2023-06-02 06:10:14 +0000 Commit: Matthias Fechner <mfechner@FreeBSD.org> CommitDate: 2023-06-06 03:32:56 +0000 devel/rubygem-i18n: fix frozen string With version v1.13.0 code was changed that returns a frozen string. This breaks e.g. gitlab-ce on some pages. Geoffrey Mainland (mainland@apeiron.net) pointed to the issue logged upstream: https://github.com/ruby-i18n/i18n/issues/658 PR: 271420 PR: 271356 Approved by: sunpoet (maintainer) --- devel/rubygem-i18n/Makefile | 1 + devel/rubygem-i18n/files/patch-bug-271420 | 11 +++++++++++ 2 files changed, 12 insertions(+) diff --git a/devel/rubygem-i18n/Makefile b/devel/rubygem-i18n/Makefile index 25ac5e681df2..d9cad3f9eafd 100644 --- a/devel/rubygem-i18n/Makefile +++ b/devel/rubygem-i18n/Makefile @@ -1,5 +1,6 @@ PORTNAME= i18n PORTVERSION= 1.14.0 +PORTREVISION= 1 PORTEPOCH= 2 CATEGORIES= devel rubygems MASTER_SITES= RG diff --git a/devel/rubygem-i18n/files/patch-bug-271420 b/devel/rubygem-i18n/files/patch-bug-271420 new file mode 100644 index 000000000000..bee7f0bd5beb --- /dev/null +++ b/devel/rubygem-i18n/files/patch-bug-271420 @@ -0,0 +1,11 @@ +--- lib/i18n/interpolate/ruby.rb.orig 2023-06-02 05:26:32 UTC ++++ lib/i18n/interpolate/ruby.rb +@@ -47,7 +47,7 @@ module I18n + end + end + +- interpolated ? interpolated_string : string ++ interpolated ? interpolated_string : string.dup + end + end + end
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202306060333.3563XfNY027286>