summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2020-02-04 18:12:15 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-02-11 23:05:12 +0000
commit96114090ea7b5675c44d98a392b95cfbaf9e9b43 (patch)
tree17885cb4342b0b75afca3da5c07c4656684c090d /meta/recipes-extended
parent7688cd8a2f162c250a91806ef40ffcdcba4f2213 (diff)
downloadpoky-96114090ea7b5675c44d98a392b95cfbaf9e9b43.tar.gz
mc: Fix manpage date indeterminism
The man page date can vary depending upon the host perl, e.g. in Russian some versions print 'июня', others 'Июнь' or Polish 'czerwca' or 'czerwiec'. Rather than depend upon perl-native to fix this, just remove the date from the manpages. (From OE-Core rev: 5553c20f9fa4f35bf711b6b9d5717dcf4bfefafa) (From OE-Core rev: 3653fd41fbc28f70259a00bb0098ec8731526449) (From OE-Core rev: feaf05c39ffecd7a9fd8bd81fc1872ce26b7801e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r--meta/recipes-extended/mc/files/nomandate.patch21
-rw-r--r--meta/recipes-extended/mc/mc_4.8.23.bb1
2 files changed, 22 insertions, 0 deletions
diff --git a/meta/recipes-extended/mc/files/nomandate.patch b/meta/recipes-extended/mc/files/nomandate.patch
new file mode 100644
index 0000000000..48bd73b110
--- /dev/null
+++ b/meta/recipes-extended/mc/files/nomandate.patch
@@ -0,0 +1,21 @@
1The man page date can vary depending upon the host perl, e.g. in Russian
2some versions print 'июня', others 'Июнь' or Polish 'czerwca' or 'czerwiec'.
3Rather than depend upon perl-native to fix this, just remove the date from
4the manpages.
5
6RP 2020/2/4
7
8Upstream-Status: Inappropriate [OE specficic reproducibility workaround]
9Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
10
11Index: mc-4.8.23/doc/man/date-of-man-include.am
12===================================================================
13--- mc-4.8.23.orig/doc/man/date-of-man-include.am
14+++ mc-4.8.23/doc/man/date-of-man-include.am
15@@ -1,5 +1,5 @@
16 SED_PARAMETERS = \
17- -e "s/%DATE_OF_MAN_PAGE%/$${MAN_DATE}/g" \
18+ -e "s/%DATE_OF_MAN_PAGE%//g" \
19 -e "s/%DISTR_VERSION%/@DISTR_VERSION@/g" \
20 -e "s{%prefix%{@prefix@{g" \
21 -e "s{%sysconfdir%{@sysconfdir@{g" \
diff --git a/meta/recipes-extended/mc/mc_4.8.23.bb b/meta/recipes-extended/mc/mc_4.8.23.bb
index 5667038a18..de76591d9b 100644
--- a/meta/recipes-extended/mc/mc_4.8.23.bb
+++ b/meta/recipes-extended/mc/mc_4.8.23.bb
@@ -9,6 +9,7 @@ RDEPENDS_${PN} = "ncurses-terminfo"
9SRC_URI = "http://www.midnight-commander.org/downloads/${BPN}-${PV}.tar.bz2 \ 9SRC_URI = "http://www.midnight-commander.org/downloads/${BPN}-${PV}.tar.bz2 \
10 file://0001-mc-replace-perl-w-with-use-warnings.patch \ 10 file://0001-mc-replace-perl-w-with-use-warnings.patch \
11 file://0001-Add-option-to-control-configure-args.patch \ 11 file://0001-Add-option-to-control-configure-args.patch \
12 file://nomandate.patch \
12 " 13 "
13SRC_URI[md5sum] = "152927ac29cf0e61d7d019f261bb7d89" 14SRC_URI[md5sum] = "152927ac29cf0e61d7d019f261bb7d89"
14SRC_URI[sha256sum] = "238c4552545dcf3065359bd50753abbb150c1b22ec5a36eaa02c82808293267d" 15SRC_URI[sha256sum] = "238c4552545dcf3065359bd50753abbb150c1b22ec5a36eaa02c82808293267d"