From 89e905cb908f6773fdd1035b450806e046b9e349 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sat, 7 May 2022 20:31:50 -0500 Subject: system/po4a: Update to 0.66 * Remove -lang as we don't package the Perl gettext bindings. * Add more notes about tests; about 200/300 pass. --- system/po4a/disable-stats.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 system/po4a/disable-stats.patch (limited to 'system/po4a/disable-stats.patch') diff --git a/system/po4a/disable-stats.patch b/system/po4a/disable-stats.patch new file mode 100644 index 000000000..765a38520 --- /dev/null +++ b/system/po4a/disable-stats.patch @@ -0,0 +1,22 @@ +gettext-tiny msgfmt(1) does not support --statistics. + +If we try to generate statistics anyway (purely cosmetic), we receive: + + po/bin (pot: 32912) + Unparsable content + Illegal division by zero at Po4aBuilder.pm line 297. + +This is because stdout/stderr is empty. + +--- po4a-0.66/Po4aBuilder.pm.old 2022-01-01 18:10:18.000000000 -0600 ++++ po4a-0.66/Po4aBuilder.pm 2022-05-07 19:42:25.316006467 -0500 +@@ -15,7 +15,8 @@ + $self->depends_on('docs'); + $self->depends_on('distmeta'); # regenerate META.yml + $self->depends_on('man'); +- $self->depends_on('postats'); ++ # We don't need to show stats at the end. ++ # $self->depends_on('postats'); + } + + sub make_files_writable { -- cgit v1.2.3-60-g2f50