From nobody Tue Jun 6 03:33:41 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QZx05268qz4bZQc; Tue, 6 Jun 2023 03:33:41 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QZx051h0Sz3HgD; Tue, 6 Jun 2023 03:33:41 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686022421; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=X1suiC5TyUgjxePW96CdJymtBHT9JyDl1vU4AlyFbuo=; b=UHNWiaSXMM2/f85ZtG2peico/AOa4nT5RgRMFLvfOBPvbiT2VreDIk9xQ3tBKVMcPhfaV8 PZMwGDplf2iuA55B6PhYCJcnQPu1WloryWz6Zsl6dHz1D28IJdQhgHFTQjfFXcQXFyp40d 3DzyCs5NluRYmPvjUYW0pTa9TevNP93S1+jk+u4O3dy/wXG7rASpoQu3Z0NDvaY9FAjmzD atBMMZ6quoABJQAxIh1n49Ch1ovcsTCxacTmZErgTWeE5rjadoSyLd19H9XcyBT3NI5RC6 RaM4RJYxn0/NybWPY/DL2dZrmYqn6N4pL2UYsKSmwopnZhrMRUCCQk85M5EiMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686022421; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=X1suiC5TyUgjxePW96CdJymtBHT9JyDl1vU4AlyFbuo=; b=Y0X+yJ++bBPzfz/WRnRkpU9hi3fqYuiUIxuTc91H2cr8Axn6xL27vL5rFTl2D28M4Qoby5 ngldWVQxdT+SKHkvIBuE4BMHKoPuMe9eP4h3/Dm8XobBRoh5UzZ6hn02rz64TmCqzS7fFL 4M7YrEjo9B1R6bQ4xcr/xTeqlaZDbahly3Y77oEDIHnoYDhxoIUFtQp1KOE7XUFdAVLT2p ZdgAOKN0mB1JTxRBx9Ese2pJjd0KcB+e8gaz1iYW6IGeoDC48e02Jlfh8CT1um+NG4tKtV SsuMWab1Fm0pSb3OHw3L4ZdLSq+PHTUHNPSrBZUICiDr6z1N7xj5nRMGSA4L5w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1686022421; a=rsa-sha256; cv=none; b=aTmW/l0k0gcDgzNEJtij3W7xWDusVa1Tf47dyGtCd7Luob4j0xKHn1EbatMAPO/7IkrsgY 5G8ffpG29C3EVmzXCNxYhmRjPuKyJbcdApRff3BXKIBP46E/QMDU2JtF7Y7AjwMRA4rm1h b4vnGRQFLJTrZ+OF3v+Ls5KZd9iomAOlzSVrvhEJ+Bd2UTTb8nYyKOZTq01Rbn69oM3gPh 9BUtiiYtjwWErM1sThXGGmocgSogT6LJ26cebLWgyTNXBHDw+A2mC48bLpXzVYzBewR8Iy +8rnA5jfnN0cgXb61h1fhesBW/oYyqlBMmFOdknVS/k+xrsbAEwAXBSFFH2ygw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QZx050m6mzDtn; Tue, 6 Jun 2023 03:33:41 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 3563XfUs027287; Tue, 6 Jun 2023 03:33:41 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 3563XfNY027286; Tue, 6 Jun 2023 03:33:41 GMT (envelope-from git) Date: Tue, 6 Jun 2023 03:33:41 GMT Message-Id: <202306060333.3563XfNY027286@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Matthias Fechner Subject: git: d9c7bd925458 - main - devel/rubygem-i18n: fix frozen string List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mfechner X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d9c7bd925458d6d51ddbdafe03cf1e5a1a422c16 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by mfechner: URL: https://cgit.FreeBSD.org/ports/commit/?id=d9c7bd925458d6d51ddbdafe03cf1e5a1a422c16 commit d9c7bd925458d6d51ddbdafe03cf1e5a1a422c16 Author: Matthias Fechner AuthorDate: 2023-06-02 06:10:14 +0000 Commit: Matthias Fechner 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