0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

patch 8.1.1255: building desktop files fails on FreeBSD

Problem:    Building desktop files fails on FreeBSD. (Adam Weinberger)
Solution:   Avoid using non-portable construct in Makefile. (closes #4332)
This commit is contained in:
Bram Moolenaar
2019-05-03 21:20:03 +02:00
parent 61df0c7996
commit 12e91862c1
2 changed files with 8 additions and 2 deletions

View File

@@ -165,9 +165,13 @@ $(PACKAGE).pot: ../*.c ../if_perl.xs ../GvimExt/gvimext.cpp ../globals.h ../if_p
po/gvim.desktop.in po/vim.desktop.in
mv -f ../$(PACKAGE).po $(PACKAGE).pot
%.desktop: %.desktop.in $(POFILES)
vim.desktop: vim.desktop.in $(POFILES)
@echo $(LANGUAGES) | tr " " "\n" |sed -e '/\./d' | sort > LINGUAS
$(MSGFMT) --desktop -d . --template $< -o $@
$(MSGFMT) --desktop -d . --template vim.desktop.in -o vim.desktop
gvim.desktop: gvim.desktop.in $(POFILES)
@echo $(LANGUAGES) | tr " " "\n" |sed -e '/\./d' | sort > LINGUAS
$(MSGFMT) --desktop -d . --template gvim.desktop.in -o gvim.desktop
update-po: $(LANGUAGES)

View File

@@ -767,6 +767,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1255,
/**/
1254,
/**/