From: Bram Moolenaar Date: Fri, 3 May 2019 19:20:03 +0000 (+0200) Subject: patch 8.1.1255: building desktop files fails on FreeBSD X-Git-Tag: v8.1.1255 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=12e91862c14a1af44b537d478e8a5021893044fe;p=thirdparty%2Fvim.git 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) --- diff --git a/src/po/Makefile b/src/po/Makefile index 7c03fe4a74..cc56b83d2e 100644 --- a/src/po/Makefile +++ b/src/po/Makefile @@ -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) diff --git a/src/version.c b/src/version.c index 0882fa267a..f03346c557 100644 --- a/src/version.c +++ b/src/version.c @@ -767,6 +767,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1255, /**/ 1254, /**/