diff options
Diffstat (limited to 'system/po4a/disable-stats.patch')
-rw-r--r-- | system/po4a/disable-stats.patch | 22 |
1 files changed, 22 insertions, 0 deletions
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 { |