Description: 使 po/Makefile.in.in 与源码自带 configure 的 gettext 0.17 宏保持一致
 debian/patches/31_Fix-various-issues.diff 把 po/Makefile.in.in 换成了 gettext-0.21
 版本（GETTEXT_MACRO_VERSION = 0.20），该版本依赖 autoreconf/autopoint 重新生成的
 gettext 宏；而 debian/rules 已禁用 dh_autoreconf，构建使用的是源码自带的
 autoconf 2.61/gettext 0.17 生成的 configure，它把 @GETTEXT_MACRO_VERSION@ 替换为
 0.17，于是 make install 进入 po 目录时 stamp-po 目标的版本一致性检查失败：
 "gettext infrastructure mismatch: using a Makefile.in.in from gettext version
 0.20 but the autoconf macros are from gettext version 0.17"，安装阶段中止。
 本补丁把声明的宏版本改回 0.17，并为 0.17 宏不会替换的 @SED@、
 @CROSS_COMPILING@、@MSGMERGE_FOR_MSGFMT_OPTION@ 提供等价取值（sed / no / 空），
 避免这些占位符原样残留在 po/Makefile 中被当作命令或选项执行。
Author: tangxiaofeng <tangxiaofeng@kylinos.cn>
Forwarded: not-needed
Last-Update: 2026-09-15

--- sitecopy-0.16.6.orig/po/Makefile.in.in
+++ sitecopy-0.16.6/po/Makefile.in.in
@@ -8,13 +8,13 @@
 # without any warranty.
 #
 # Origin: gettext-0.21
-GETTEXT_MACRO_VERSION = 0.20
+GETTEXT_MACRO_VERSION = 0.17
 
 PACKAGE = @PACKAGE@
 VERSION = @VERSION@
 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
 
-SED = @SED@
+SED = sed
 SHELL = /bin/sh
 @SET_MAKE@
 
@@ -47,7 +47,7 @@ mkdir_p = @mkdir_p@
 # When building gettext-tools, we prefer to use the built programs
 # rather than installed programs.  However, we can't do that when we
 # are cross compiling.
-CROSS_COMPILING = @CROSS_COMPILING@
+CROSS_COMPILING = no
 
 GMSGFMT_ = @GMSGFMT@
 GMSGFMT_no = @GMSGFMT@
@@ -59,7 +59,7 @@ XGETTEXT_yes = @XGETTEXT_015@
 XGETTEXT = $(XGETTEXT_$(USE_MSGCTXT))
 MSGMERGE = @MSGMERGE@
 MSGMERGE_UPDATE = @MSGMERGE@ --update
-MSGMERGE_FOR_MSGFMT_OPTION = @MSGMERGE_FOR_MSGFMT_OPTION@
+MSGMERGE_FOR_MSGFMT_OPTION =
 MSGINIT = msginit
 MSGCONV = msgconv
 MSGFILTER = msgfilter
