summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/mc
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2020-08-23 22:20:14 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-08-25 16:00:10 +0100
commit2378ecfd3c8a4a5e55b72c0e2516b9b5bf0a2534 (patch)
tree875ed0957aeecb8791d00d80ccf08750d7aac219 /meta/recipes-extended/mc
parentfd57fa3f2cfdaa6e97f72ca5e248d79ceb10845d (diff)
downloadpoky-2378ecfd3c8a4a5e55b72c0e2516b9b5bf0a2534.tar.gz
mc: upgrade 4.8.24 -> 4.8.25
(From OE-Core rev: a82ee49f8fc0d400f1ba12e0ca80aaeac6bb3523) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/mc')
-rw-r--r--meta/recipes-extended/mc/files/0001-Ticket-4070-misc-Makefile.am-install-mc.lib-only-onc.patch59
-rw-r--r--meta/recipes-extended/mc/mc_4.8.25.bb (renamed from meta/recipes-extended/mc/mc_4.8.24.bb)4
2 files changed, 1 insertions, 62 deletions
diff --git a/meta/recipes-extended/mc/files/0001-Ticket-4070-misc-Makefile.am-install-mc.lib-only-onc.patch b/meta/recipes-extended/mc/files/0001-Ticket-4070-misc-Makefile.am-install-mc.lib-only-onc.patch
deleted file mode 100644
index 824c12f8d2..0000000000
--- a/meta/recipes-extended/mc/files/0001-Ticket-4070-misc-Makefile.am-install-mc.lib-only-onc.patch
+++ /dev/null
@@ -1,59 +0,0 @@
1From 58dd59637ac5c6340ddfe96ad8b76883e4da20ef Mon Sep 17 00:00:00 2001
2From: Sergei Trofimovich <slyfox@gentoo.org>
3Date: Tue, 3 Mar 2020 09:26:12 +0000
4Subject: [PATCH] Ticket #4070: misc/Makefile.am: install mc.lib only once.
5
6Before the change mc.lib was installed twice due to being
7in two _DATA variables:
8
9dist_pkgdata_DATA = \
10 mc.lib
11
12pkgdata_DATA = \
13 $(dist_pkgdata_DATA) \
14 $(PKGDATA_OUT)
15
16This causes occasional install failures when two parallel
17`/usr/bin/install` calls race in installing the file:
18
19$ make -j20 DESTDIR=/var/tmp/portage/app-misc/mc-4.8.24/image install
20...
21 /usr/lib/portage/python3.6/ebuild-helpers/xattr/install \
22 -c -m 644 mc.lib '/var/tmp/portage/app-misc/mc-4.8.24/image/usr/share/mc'
23 /usr/lib/portage/python3.6/ebuild-helpers/xattr/install \
24 -c -m 644 mc.lib mc.charsets '/var/tmp/portage/app-misc/mc-4.8.24/image/usr/share/mc'
25...
26 /usr/bin/install: cannot create regular file
27 '/var/tmp/portage/app-misc/mc-4.8.24/image/usr/share/mc/mc.lib': File exists
28
29After the change mc.lib is present only in dist_pkgdata_DATA.
30
31Upstream-Status: Backport [https://github.com/MidnightCommander/mc/commit/afb09f7cd7024484845ade25e15b8b93d6cf2d2c]
32
33Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
34Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
35Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
36---
37 misc/Makefile.am | 2 --
38 1 file changed, 2 deletions(-)
39
40diff --git a/misc/Makefile.am b/misc/Makefile.am
41index 8ed1826..24f4a0e 100644
42--- a/misc/Makefile.am
43+++ b/misc/Makefile.am
44@@ -17,7 +17,6 @@ dist_pkgdata_DATA = \
45 mc.lib
46
47 pkgdata_DATA = \
48- $(dist_pkgdata_DATA) \
49 $(PKGDATA_OUT)
50
51 SCRIPTS_IN = \
52@@ -54,7 +53,6 @@ EXTRA_DIST = \
53 $(LIBFILES_SCRIPT) \
54 $(SCRIPTS_IN) \
55 $(noinst_DATA) \
56- $(dist_pkgdata_DATA) \
57 $(PKGDATA_IN)
58
59 install-data-hook:
diff --git a/meta/recipes-extended/mc/mc_4.8.24.bb b/meta/recipes-extended/mc/mc_4.8.25.bb
index 034df2a422..83c8a6ecf6 100644
--- a/meta/recipes-extended/mc/mc_4.8.24.bb
+++ b/meta/recipes-extended/mc/mc_4.8.25.bb
@@ -10,10 +10,8 @@ RRECOMMENDS_${PN} = "ncurses-terminfo"
10SRC_URI = "http://www.midnight-commander.org/downloads/${BPN}-${PV}.tar.bz2 \ 10SRC_URI = "http://www.midnight-commander.org/downloads/${BPN}-${PV}.tar.bz2 \
11 file://0001-mc-replace-perl-w-with-use-warnings.patch \ 11 file://0001-mc-replace-perl-w-with-use-warnings.patch \
12 file://nomandate.patch \ 12 file://nomandate.patch \
13 file://0001-Ticket-4070-misc-Makefile.am-install-mc.lib-only-onc.patch \
14 " 13 "
15SRC_URI[md5sum] = "2621de1fa9058a9c41a4248becc969f9" 14SRC_URI[sha256sum] = "407dc20f70082f26c7f5716406cb755cbb6cba3f2f13b841b79a991282d310c2"
16SRC_URI[sha256sum] = "cfcc4d0546d0c3a88645a8bf71612ed36647ea3264d973b1f28183a0c84bae34"
17 15
18inherit autotools gettext pkgconfig 16inherit autotools gettext pkgconfig
19 17