xref: /OK3568_Linux_fs/yocto/poky/meta/recipes-extended/mc/files/nomandate.patch (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1From f02010965af21db018c4e108b2193c872406a314 Mon Sep 17 00:00:00 2001
2From: Richard Purdie <richard.purdie@linuxfoundation.org>
3Date: Tue, 4 Feb 2020 18:12:15 +0000
4Subject: [PATCH] mc: Fix manpage date indeterminism
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9The man page date can vary depending upon the host perl, e.g. in Russian
10some versions print 'июня', others 'Июнь' or Polish 'czerwca' or 'czerwiec'.
11Rather than depend upon perl-native to fix this, just remove the date from
12the manpages.
13
14RP 2020/2/4
15
16Upstream-Status: Inappropriate [OE specficic reproducibility workaround]
17Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
18
19---
20 doc/man/date-of-man-include.am | 2 +-
21 1 file changed, 1 insertion(+), 1 deletion(-)
22
23diff --git a/doc/man/date-of-man-include.am b/doc/man/date-of-man-include.am
24index 3a4e599..f11e9b3 100644
25--- a/doc/man/date-of-man-include.am
26+++ b/doc/man/date-of-man-include.am
27@@ -1,5 +1,5 @@
28 SED_PARAMETERS = \
29-	-e "s/%DATE_OF_MAN_PAGE%/$${MAN_DATE}/g" \
30+	-e "s/%DATE_OF_MAN_PAGE%//g" \
31 	-e "s/%MAN_VERSION%/@MAN_VERSION@/g" \
32 	-e "s{%prefix%{@prefix@{g" \
33 	-e "s{%sysconfdir%{@sysconfdir@{g" \
34