This commit is contained in:
milisbir 2017-07-23 16:00:07 +03:00
parent a995bc9b1b
commit 3e264a8f45
2 changed files with 12 additions and 1 deletions

View File

@ -8,7 +8,7 @@ version=7.4
release=1
source=(ftp://ftp.vim.org/pub/vim/unix/vim-$version.tar.bz2
http://downloads.nutyx.org/files/patchs/vim/vim-7.4-locale-1.patch)
vim-7.4-locale-1.patch)
build()
{
vimv="vim${version/./}"

View File

@ -0,0 +1,11 @@
--- vim74/src/main.c.original 2014-06-17 17:24:55.000000000 +0200
+++ vim74/src/main.c 2014-06-17 17:25:44.000000000 +0200
@@ -1563,7 +1563,7 @@
if (p != NULL && *p != NUL)
{
vim_snprintf((char *)NameBuff, MAXPATHL, "%s/lang", p);
- bindtextdomain(VIMPACKAGE, (char *)NameBuff);
+ bindtextdomain(VIMPACKAGE, "/usr/share/locale");
}
if (mustfree)
vim_free(p);