Re: [PATCH] Stop using zic’s -p option.

Поиск
Список
Период
Сортировка
От raf
Тема Re: [PATCH] Stop using zic’s -p option.
Дата
Msg-id 20200622023821.42idnbj3lawtiy2n@raf.org
обсуждение исходный текст
Ответ на [PATCH] Stop using zic’s -p option.  (Paul Eggert <eggert@cs.ucla.edu>)
Список pgsql-bugs
Paul Eggert wrote:

> ‘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(-)
> 
> diff --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

zic on Debian9 has a -p option but no -b option.
Will this change be a problem there?
Presumably it doesn't apply to Debian9
since -b slim was already there.

cheers,
raf




В списке pgsql-bugs по дате отправления:

Предыдущее
От: NG Chia Wee
Дата:
Сообщение: install SQL issue
Следующее
От: Paul Eggert
Дата:
Сообщение: Re: [PATCH] Stop using zic’s -p option.