changeset 4340:12636b824816 v7.3.919

updated for version 7.3.919 Problem: An empty nl.po file does not work with an old msgfmt. Solution: Put a single # in the file. (Laurent Blume)
author Bram Moolenaar <bram@vim.org>
date Sat, 04 May 2013 03:37:10 +0200
parents 22fa3049e934
children 19b48d794174
files src/po/Makefile src/version.c
diffstat 2 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/po/Makefile
+++ b/src/po/Makefile
@@ -176,9 +176,10 @@ uninstall:
 
 converted: $(MOCONVERTED)
 
-# nl.po was added later, if it does not exist use an empty file.
+# nl.po was added later, if it does not exist use a file with just a # in it
+# (an empty file doesn't work with old msgfmt).
 nl.po:
-	touch nl.po
+	@( echo \# > nl.po )
 
 # Norwegian/Bokmal: "nb" is an alias for "no".
 # Copying the file is not efficient, but I don't know of another way to make
--- a/src/version.c
+++ b/src/version.c
@@ -729,6 +729,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    919,
+/**/
     918,
 /**/
     917,