Re: git: 91506dba7f2e - main - zoneinfo: also install tzdata.zi and version

From: Dimitry Andric <dim_at_FreeBSD.org>
Date: Wed, 30 Apr 2025 18:07:54 UTC
On 30 Apr 2025, at 18:58, Ed Maste <emaste@freebsd.org> wrote:
> 
> On Wed, 30 Apr 2025 at 00:58, Philip Paeps <philip@freebsd.org> wrote:
>> 
>> On 2025-04-30 02:44:46 (+0800), Ed Maste wrote:
>>> On Tue, 1 Apr 2025 at 04:10, Philip Paeps <philip@freebsd.org> wrote:
>>>> The branch main has been updated by philip:
>>>> 
>>>> URL:
>>>> https://cgit.FreeBSD.org/src/commit/?id=91506dba7f2eb147eeb55ec30640bc11755a1e8e
>>>> 
>>>> commit 91506dba7f2eb147eeb55ec30640bc11755a1e8e
>>>> Author:     Philip Paeps <philip@FreeBSD.org>
>>>> AuthorDate: 2025-04-01 08:09:37 +0000
>>>> Commit:     Philip Paeps <philip@FreeBSD.org>
>>>> CommitDate: 2025-04-01 08:09:37 +0000
>>>> 
>>>>    zoneinfo: also install tzdata.zi and version
>>>> 
>>>>    Build and install the shrunk version of the time zone database
>>>> required
>>>>    by libc++ 19 std::chrono::current_zone (etc).  While here, also
>>>> install
>>>>    the tzdata 'version' file to align more closely with other
>>>> vendors.
>>>> 
>>>>    PR:             282377
>>>>    Reviewed by:    dim, emaste, imp
>>>>    Differential Revision:  https://reviews.freebsd.org/D49577
>>> 
>>> Do you plan to MFC this to stable/14 for 14.3 as well?
>> 
>> I was not planning to MFC this change.
>> 
>> Does libc++ in stable/14 need this support?
> 
> I suspect so - std::chrono::tzdb is C++20 and we presumably want it to
> exist/work in stable/14.  Dimitry?

The tzdata.zi file is a prerequisite, but I never got to completely
verifying that it actually works. At some point I had a hand-concocted
file, but libc++ fell over on it. I'm unsure what the status is now.

-Dimitry