From: Matteo Croce <[email protected]>
The source file src/checkpoint.c contains a comment with a non ASCII
character, i.e. the Spanish word "comprobación".
This makes xgettext fail with the following error:
/usr/bin/xgettext: Non-ASCII comment at or before src/checkpoint.c:251.
Please specify the source encoding through --from-code.
make[3]: *** [Makefile:307: tar.pot-update] Error 1
Fix this by specifying UTF-8 as source code locale.
---
bootstrap.conf | 1 +
1 file changed, 1 insertion(+)
diff --git a/bootstrap.conf b/bootstrap.conf
index fb75422c..954de93f 100644
--- a/bootstrap.conf
+++ b/bootstrap.conf
@@ -41,6 +41,7 @@ XGETTEXT_OPTIONS=$XGETTEXT_OPTIONS'\\\
--flag=__argp_failure:4:c-format\\\
--flag=argp_fmtstream_printf:2:c-format\\\
--flag=__argp_fmtstream_printf:2:c-format\\\
+ --from-code=utf-8\\\
'
# Gettext supplies these files, but we don't need them since
--
2.47.0