From: Jan Palus Date: Mon, 16 Feb 2026 21:46:27 +0000 (+0000) Subject: patch 9.2.0013: parallel make invocation may break Wayland header generation X-Git-Tag: v9.2.0013^0 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c4b8783970ca7e5ae94b264f0ff3dd34d95f86e7;p=thirdparty%2Fvim.git patch 9.2.0013: parallel make invocation may break Wayland header generation Problem: parallel make invocation may break Wayland header generation Solution: Use single make target to generate Wayland protocol files. (Jan Palus) $(WAYLAND_SRC) contains up to 4 files which, given right timing and parallelization level, can spawn 4 independent `make` processes during parallel build. Each process generates same set of files intermittently leading to inconsistent results. Instead use one common target each source file depends on. fixes: #19419 closes: #19420 Signed-off-by: Jan Palus Signed-off-by: Christian Brabandt --- diff --git a/src/Makefile b/src/Makefile index e76ee91d78..c0b7db75ff 100644 --- a/src/Makefile +++ b/src/Makefile @@ -1607,7 +1607,10 @@ EXTRA_SRC = if_lua.c if_mzsch.c auto/if_perl.c \ gui_beval.c netbeans.c job.c channel.c \ $(GRESOURCE_SRC) -$(WAYLAND_SRC): +$(WAYLAND_SRC): genwaylandproto + +.PHONY: genwaylandproto +genwaylandproto: cd auto/wayland; $(MAKE) # Needed for parallel jobs to work diff --git a/src/version.c b/src/version.c index fad1480404..3add220987 100644 --- a/src/version.c +++ b/src/version.c @@ -734,6 +734,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 13, /**/ 12, /**/