]> code.ossystems Code Review - openembedded-core.git/commitdiff
mc: upgrade 4.8.25 -> 4.8.26
authorzhengruoqin <zhengrq.fnst@cn.fujitsu.com>
Fri, 5 Feb 2021 02:29:41 +0000 (10:29 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 6 Feb 2021 09:02:51 +0000 (09:02 +0000)
Fix the do_compile error:
| ../../../mc-4.8.26/lib/tty/tty-ncurses.c: In function 'tty_colorize_area':
| ../../../mc-4.8.26/lib/tty/tty-ncurses.c:557:5: error: unknown type name 'cchar_t'; did you mean 'wchar_t'?
add -DNCURSES_WIDECHAR=1 when musl.

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/mc/mc_4.8.26.bb [moved from meta/recipes-extended/mc/mc_4.8.25.bb with 94% similarity]

similarity index 94%
rename from meta/recipes-extended/mc/mc_4.8.25.bb
rename to meta/recipes-extended/mc/mc_4.8.26.bb
index 83c8a6ecf65d7e44020a05d1c3ce182546da1a51..3eb19309b71911d2cf5c5e3e2f6990c9d2ec0f4e 100644 (file)
@@ -11,7 +11,7 @@ SRC_URI = "http://www.midnight-commander.org/downloads/${BPN}-${PV}.tar.bz2 \
            file://0001-mc-replace-perl-w-with-use-warnings.patch \
            file://nomandate.patch \
            "
-SRC_URI[sha256sum] = "407dc20f70082f26c7f5716406cb755cbb6cba3f2f13b841b79a991282d310c2"
+SRC_URI[sha256sum] = "9d6358d0a351a455a1410aab57f33b6b48b0fcf31344b9a10b0ff497595979d1"
 
 inherit autotools gettext pkgconfig
 
@@ -22,6 +22,7 @@ PACKAGECONFIG ??= ""
 PACKAGECONFIG[smb] = "--enable-vfs-smb,--disable-vfs-smb,samba,"
 PACKAGECONFIG[sftp] = "--enable-vfs-sftp,--disable-vfs-sftp,libssh2,"
 
+CFLAGS_append_libc-musl = ' -DNCURSES_WIDECHAR=1 '
 EXTRA_OECONF = "--with-screen=ncurses --without-gpm-mouse --without-x --disable-configure-args"
 
 CACHED_CONFIGUREVARS += "ac_cv_path_PERL='/usr/bin/env perl'"