pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Paul Eggert <eggert@cs.ucla.edu>
To: pgsql-bugs@lists.postgresql.org
Cc: Paul Eggert <eggert@cs.ucla.edu>
Subject: [PATCH] Stop using zic’s -p option.
Date: Sun, 21 Jun 2020 14:18:55 -0700
Message-ID: <20200621211855.6211-1-eggert@cs.ucla.edu> (raw)

‘zic -p’ is obsolescent and is incompatible with ‘zic -b slim’.
* src/tools/msvc/Install.pm (GenerateTimezoneFiles):
Omit use of zic’s -p option.
---
 src/tools/msvc/Install.pm | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

inline patch 1: src/tools/msvc/Install.pm (+2/-7 lines) download inline-1.patchdiff --git a/src/tools/msvc/Install.pm b/src/tools/msvc/Install.pm index 9bf111c41e..31659fc299 100644 --- a/src/tools/msvc/Install.pm +++ b/src/tools/msvc/Install.pm @@ -366,16 +366,11 @@ sub GenerateTimezoneFiles || die "Could not find TZDATAFILES line in timezone makefile\n"; my @tzfiles = split /\s+/, $1; - $mf =~ /^POSIXRULES\s*:?=\s*(.*)$/m - || die "Could not find POSIXRULES line in timezone makefile\n"; - my $posixrules = $1; - $posixrules =~ s/\s+//g; - print "Generating timezone files..."; my @args = ( - "$conf/zic/zic", '-d', "$target/share/timezone", '-p', - "$posixrules", '-b', 'slim'); + "$conf/zic/zic", '-d', "$target/share/timezone", + '-b', 'slim'); foreach (@tzfiles) { my $tzfile = $_; -- 2.25.4

view thread (5+ messages)  latest in thread

Message-ID: <20200621211855.6211-1-eggert@cs.ucla.edu>
Permalink:  ../20200621211855.6211-1-eggert@cs.ucla.edu/
Also on:    postgresql.org/message-id/20200621211855.6211-1-eggert@cs.ucla.edu

 ·  · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: eggert@cs.ucla.edu
  Subject: Re: [PATCH] Stop using zic’s -p option.
  In-Reply-To: <20200621211855.6211-1-eggert@cs.ucla.edu>
  References: <20200621211855.6211-1-eggert@cs.ucla.edu>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox