summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/vim/vim_9.0.bb
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2022-06-29 14:15:11 +0100
committerSteve Sakoman <steve@sakoman.com>2022-07-05 10:04:09 -1000
commitcc245b75ebd8dfc4925a21e3ff08d841fef77635 (patch)
tree24857a88ba736c62a530bfc34046cd77c1615e3b /meta/recipes-support/vim/vim_9.0.bb
parenta8283f9251f59d86f93f9d7cfd4c7e29c61e4631 (diff)
downloadopenembedded-core-contrib-cc245b75ebd8dfc4925a21e3ff08d841fef77635.tar.gz
vim: 8.2.5083 -> 9.0.0005
The license checksum changed due to a major version change in the referenced file. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 89f34d8aa4f4572d048dbb732ca4c83d443157fb) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'meta/recipes-support/vim/vim_9.0.bb')
-rw-r--r--meta/recipes-support/vim/vim_9.0.bb15
1 files changed, 15 insertions, 0 deletions
diff --git a/meta/recipes-support/vim/vim_9.0.bb b/meta/recipes-support/vim/vim_9.0.bb
new file mode 100644
index 0000000000..709b6ddb55
--- /dev/null
+++ b/meta/recipes-support/vim/vim_9.0.bb
@@ -0,0 +1,15 @@
+require vim.inc
+
+PROVIDES = "xxd"
+
+PACKAGECONFIG_class-native = ""
+BBCLASSEXTEND = "native"
+
+ALTERNATIVE_${PN}_append = " xxd"
+ALTERNATIVE_TARGET[xxd] = "${bindir}/xxd"
+ALTERNATIVE_LINK_NAME[xxd] = "${bindir}/xxd"
+
+# We override the default in security_flags.inc because vim (not vim-tiny!) will abort
+# in many places for _FORTIFY_SOURCE=2. Security flags become part of CC.
+#
+lcl_maybe_fortify = "${@oe.utils.conditional('DEBUG_BUILD','1','','-D_FORTIFY_SOURCE=1',d)}"