Skip to content

Commit

Permalink
patch 9.1.0298: MS-Windows: GETTEXT_PATH hard-coded in src/po/Make_mv…
Browse files Browse the repository at this point in the history
…c.mak

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>
  • Loading branch information
dertuxmalwieder authored and chrisbra committed Apr 10, 2024
1 parent c97f4d6 commit 2f27c65
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/po/Make_mvc.mak
Expand Up @@ -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.
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Expand Up @@ -704,6 +704,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
298,
/**/
297,
/**/
Expand Down

0 comments on commit 2f27c65

Please sign in to comment.