Recent msgfmt change breaks builds on Linux
Summary
System Information
Debian Trixie x86-64 fpc 3.2.2 gettext (0.22.5-1)
Steps to reproduce
Attempt to build fpc
What is the current bug behavior?
Build fails https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1074706
What is the expected (correct) behavior?
Build should work.
Relevant logs and/or screenshots
>> /usr/bin/make -C fpcsrc/utils/fpdoc/intl install INSTALL_PREFIX=/<<PKGBUILDDIR>>/debian/tmp/usr PP=/<<PKGBUILDDIR>>/fpcsrc/compiler/ppcx64
>> make[1]: Entering directory '/<<PKGBUILDDIR>>/fpcsrc/utils/fpdoc/intl'
>> msgfmt fpdoc.de.po dwriter.de.po -o fpdoc.de.mo
>> msgfmt: input file doesn't contain a header entry with a charset specification
>> make[1]: *** [Makefile:9: de] Error 1
Possible fixes
po files now need to be UTF_8 encloded and have as a minimum, a header of
msgid ""
msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
Edited by Peter Blackman