vim: Update to 8.1.1240

This brings us to the current version of vim.  As part of this we need
to work-around a locale issue that upstream has exposed.  We do not
support fully / correctly the certain locales.  Attempting to use these
with msgfmt in order to update the ".desktop" files exposes this problem
and leads to the compile failing.

(From OE-Core rev: ffa4b0abcab2ed4e4f642b4b3140aa6095938422)

Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Tom Rini
2019-05-01 08:51:09 -04:00
committed by Richard Purdie
parent 554c9904bb
commit 2b4f6052db
2 changed files with 11 additions and 1 deletions

View File

@@ -13,7 +13,7 @@ SRC_URI = "git://github.com/vim/vim.git \
file://vim-add-knob-whether-elf.h-are-checked.patch \
file://0001-src-Makefile-improve-reproducibility.patch \
"
SRCREV = "493fbe4abee660d30b4f2aef87b754b0a720213c"
SRCREV = "d96dbd6f95ea22f609042cc9c6272f14a21ff1a5"
S = "${WORKDIR}/git"
@@ -36,6 +36,16 @@ do_configure () {
touch src/auto/config.mk src/auto/config.h
}
do_compile() {
# We do not support fully / correctly the following locales. Attempting
# to use these with msgfmt in order to update the ".desktop" files exposes
# this problem and leads to the compile failing.
for LOCALE in cs fr ko pl sk zh_CN zh_TW;do
echo -n > src/po/${LOCALE}.po
done
autotools_do_compile
}
#Available PACKAGECONFIG options are gtkgui, acl, x11, tiny
PACKAGECONFIG ??= ""
PACKAGECONFIG += " \