Debian Patches

Status for po4a/0.74-2

Patch Description Author Forwarded Bugs Origin Last update
0001-Fix-msginit-compatibility-with-gettext-1.0.patch Fix msginit compatibility with gettext >= 1.0.
gettext 1.0 changed msginit behavior: when the output PO file already
exists, msginit now merges into it like msgmerge instead of failing
with an error. This breaks po4a because it passes an empty PO file as
the output target; msginit merges into the empty file and produces a PO
with stripped headers and corrupted content.

Remove the output file before calling msginit when it exists and is
empty, so that msginit always creates a fresh PO file with proper
headers.

* po4a: Before calling msginit, unlink the output file if it exists
and is empty.


Cherry-pick of upstream commit 4cf9c5b90fe8bba7fca48d51ef3885bd411b08ef
Philip Taron <philip.taron@gmail.com> no 2026-03-21

All known versions for source package 'po4a'

Links