]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.1.0298: MS-Windows: GETTEXT_PATH hard-coded in src/po/Make_mvc.mak v9.1.0298
authorCthulhux <github@tuxproject.de>
Wed, 10 Apr 2024 14:34:49 +0000 (16:34 +0200)
committerChristian Brabandt <cb@256bit.org>
Wed, 10 Apr 2024 14:34:49 +0000 (16:34 +0200)
Problem:  MS-Windows: GETTEXT_PATH hard-coded in src/po/Make_mvc.mak
Solution: Add IFNDEF/ENDIF around the definition of GETTEXT_PATH
          (Cthulhux)

It makes no sense to enforce modifying Vim source files just because
your build stuff is not where it's expected. My change is supposed to
add support for a locally-defined %GETTEXT_PATH%.

closes: #14480

Signed-off-by: Cthulhux <github@tuxproject.de>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/po/Make_mvc.mak
src/version.c

index fa6a1ba590968bc0dda9fc467bc2212c53024f02..a9a69fdcc22fe0bb6d0ad99b30328545184dcd3f 100644 (file)
@@ -44,7 +44,9 @@ VIM = ..\vim.exe
 
 # Correct the following line for the directory where gettext et al is
 # installed.  Please do not put the path in quotes.
+!IFNDEF GETTEXT_PATH
 GETTEXT_PATH = D:\Programs\GetText\bin
+!ENDIF
 
 # Starting from version 0.22, msgfmt forcibly converts text to UTF-8 regardless
 # of the value of the "charset" field.
index 5bf9581b56be2599e68292653f38b5c5746fa83f..520b7e9c2b40c5753582f89b82b2bd749eebcfed 100644 (file)
@@ -704,6 +704,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    298,
 /**/
     297,
 /**/