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