summaryrefslogblamecommitdiff
path: root/system/po4a/disable-stats.patch
blob: 765a38520192f261ad592adda701e036e8c4deda (plain) (tree)





















                                                                           
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 {