From owner-svn-ports-all@freebsd.org Tue Feb 5 00:49:57 2019 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7F82614B77A1; Tue, 5 Feb 2019 00:49:57 +0000 (UTC) (envelope-from jbeich@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) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 206818129C; Tue, 5 Feb 2019 00:49:57 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 070E2DE50; Tue, 5 Feb 2019 00:49:57 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x150nu1v094448; Tue, 5 Feb 2019 00:49:56 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x150nudv094447; Tue, 5 Feb 2019 00:49:56 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201902050049.x150nudv094447@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Tue, 5 Feb 2019 00:49:56 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r492179 - in head/mail/thunderbird: . files X-SVN-Group: ports-head X-SVN-Commit-Author: jbeich X-SVN-Commit-Paths: in head/mail/thunderbird: . files X-SVN-Commit-Revision: 492179 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 206818129C X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.97 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.97)[-0.968,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Feb 2019 00:49:57 -0000 Author: jbeich Date: Tue Feb 5 00:49:56 2019 New Revision: 492179 URL: https://svnweb.freebsd.org/changeset/ports/492179 Log: mail/thunderbird: backport a fix for saving an address book entry PR: 235483 Submitted by: Arrigo Marchiori Obtained from: upstream Added: head/mail/thunderbird/files/patch-bug1521454 (contents, props changed) Modified: head/mail/thunderbird/Makefile (contents, props changed) Modified: head/mail/thunderbird/Makefile ============================================================================== --- head/mail/thunderbird/Makefile Tue Feb 5 00:32:29 2019 (r492178) +++ head/mail/thunderbird/Makefile Tue Feb 5 00:49:56 2019 (r492179) @@ -3,7 +3,7 @@ PORTNAME= thunderbird DISTVERSION= 60.5.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= mail news net-im ipv6 MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}/source \ MOZILLA/${PORTNAME}/candidates/${DISTVERSION}-candidates/build2/source Added: head/mail/thunderbird/files/patch-bug1521454 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/mail/thunderbird/files/patch-bug1521454 Tue Feb 5 00:49:56 2019 (r492179) @@ -0,0 +1,43 @@ +Avoid exception due to bad locale code when appending [-u]-ca-gregory-nu-latn + +--- comm/common/bindings/datetimepicker.xml.orig 2019-01-22 19:44:24 UTC ++++ comm/common/bindings/datetimepicker.xml +@@ -488,7 +488,11 @@ + + var numberOrder = /^(\D*)\s*(\d+)(\D*)(\d+)(\D*)(\d+)\s*(\D*)$/; + +- var locale = Services.locale.getRegionalPrefsLocales()[0] + "-u-ca-gregory-nu-latn"; ++ var locale = Services.locale.getRegionalPrefsLocales()[0]; ++ if (locale.includes("-u-")) ++ locale += "-ca-gregory-nu-latn"; ++ else ++ locale += "-u-ca-gregory-nu-latn"; + var dtf = new Services.intl.DateTimeFormat(locale, { timeStyle: "long" }); + + var pmTime = dtf.format(new Date(2000, 0, 1, 16, 7, 9)); +@@ -777,7 +781,11 @@ + + var numberOrder = /^(\D*)\s*(\d+)(\D*)(\d+)(\D*)(\d+)\s*(\D*)$/; + +- var locale = Services.locale.getRegionalPrefsLocales()[0] + "-u-ca-gregory-nu-latn"; ++ var locale = Services.locale.getRegionalPrefsLocales()[0]; ++ if (locale.includes("-u-")) ++ locale += "-ca-gregory-nu-latn"; ++ else ++ locale += "-u-ca-gregory-nu-latn"; + var dtf = new Services.intl.DateTimeFormat(locale, { dateStyle: "short" }); + + var dt = dtf.format(new Date(2002, 9, 4)); +@@ -1007,7 +1015,11 @@ + + +