diff options
Diffstat (limited to 'meta/recipes-support/vim/files/racefix.patch')
-rw-r--r-- | meta/recipes-support/vim/files/racefix.patch | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/meta/recipes-support/vim/files/racefix.patch b/meta/recipes-support/vim/files/racefix.patch deleted file mode 100644 index 34bd37d650..0000000000 --- a/meta/recipes-support/vim/files/racefix.patch +++ /dev/null | |||
@@ -1,37 +0,0 @@ | |||
1 | po/Makefile: Avoid race over LINGUAS file | ||
2 | |||
3 | The creation of the LINGUAS file is duplicated for each desktop file | ||
4 | which can lead the commands to race against each other. One target might | ||
5 | remove it before another has been able to use it. Rework the makefile to | ||
6 | avoid this as the expense of leaving the file on disk. | ||
7 | |||
8 | Signed-off-by: Richard Purdie richard.purdie@linuxfoundation.org | ||
9 | |||
10 | Upstream-Status: Submitted [https://github.com/vim/vim/pull/10776] | ||
11 | |||
12 | Index: git/src/po/Makefile | ||
13 | =================================================================== | ||
14 | --- git.orig/src/po/Makefile | ||
15 | +++ git/src/po/Makefile | ||
16 | @@ -207,17 +207,16 @@ $(PACKAGE).pot: $(PO_INPUTLIST) $(PO_VIM | ||
17 | # Delete the temporary files | ||
18 | rm *.js | ||
19 | |||
20 | -vim.desktop: vim.desktop.in $(POFILES) | ||
21 | +LINGUAS: | ||
22 | echo $(LANGUAGES) | tr " " "\n" |sed -e '/\./d' | sort > LINGUAS | ||
23 | + | ||
24 | +vim.desktop: vim.desktop.in $(POFILES) LINGUAS | ||
25 | $(MSGFMT) --desktop -d . --template vim.desktop.in -o tmp_vim.desktop | ||
26 | - rm -f LINGUAS | ||
27 | if command -v desktop-file-validate; then desktop-file-validate tmp_vim.desktop; fi | ||
28 | mv tmp_vim.desktop vim.desktop | ||
29 | |||
30 | -gvim.desktop: gvim.desktop.in $(POFILES) | ||
31 | - echo $(LANGUAGES) | tr " " "\n" |sed -e '/\./d' | sort > LINGUAS | ||
32 | +gvim.desktop: gvim.desktop.in $(POFILES) LINGUAS | ||
33 | $(MSGFMT) --desktop -d . --template gvim.desktop.in -o tmp_gvim.desktop | ||
34 | - rm -f LINGUAS | ||
35 | if command -v desktop-file-validate; then desktop-file-validate tmp_gvim.desktop; fi | ||
36 | mv tmp_gvim.desktop gvim.desktop | ||
37 | |||