]> git.pld-linux.org Git - packages/vim.git/blobdiff - vim-localedir.patch
- package remaining tutor files
[packages/vim.git] / vim-localedir.patch
index 805bf5bafdfe2c00a9d0852d1ff1e815e8057a3d..67f6a272501adb32268912d0b0a9d27a1169c612 100644 (file)
  # endif
 --- vim72/src/misc1.c~ 2009-04-15 01:00:48.000000000 +0300
 +++ vim72/src/misc1.c  2009-04-15 01:13:00.319209732 +0300
-@@ -4056,17 +4056,6 @@
-       {
-           vim_setenv((char_u *)"VIMRUNTIME", p);
-           didset_vimruntime = TRUE;
+@@ -4215,22 +4215,6 @@
+       putenv((char *)envbuf);
+     }
+ #endif
 -#ifdef FEAT_GETTEXT
--          {
--              char_u  *buf = concat_str(p, (char_u *)"/lang");
+-    /*
+-     * When setting $VIMRUNTIME adjust the directory to find message
+-     * translations to $VIMRUNTIME/lang.
+-     */
+-    if (*val != NUL && STRICMP(name, "VIMRUNTIME") == 0)
+-    {
+-      char_u  *buf = concat_str(val, (char_u *)"/lang");
 -
--              if (buf != NULL)
--              {
--                  bindtextdomain(VIMPACKAGE, (char *)buf);
--                  vim_free(buf);
--              }
--          }
+-      if (buf != NULL)
+-      {
+-          bindtextdomain(VIMPACKAGE, (char *)buf);
+-          vim_free(buf);
+-      }
+-    }
 -#endif
      }
-       else
-       {
+ }
+ #if defined(FEAT_CMDL_COMPL) || defined(PROTO)
 --- vim72/src/Makefile~        2009-04-15 01:00:48.000000000 +0300
 +++ vim72/src/Makefile 2009-04-15 01:19:18.519171979 +0300
 @@ -957,6 +957,7 @@
           INSTALL_DATA=$(INSTALL_DATA) FILEMOD=$(FILEMOD) install; \
        fi
        if test -d $(LANGSOURCE); then \
---- vim72/src/po/Makefile~     2008-07-24 21:52:54.000000000 +0300
-+++ vim72/src/po/Makefile      2009-04-15 11:25:53.058913958 +0300
-@@ -132,6 +132,7 @@
+--- vim73/src/po/Makefile~     2013-02-22 17:28:18.000000000 +0200
++++ vim73/src/po/Makefile      2013-02-22 17:46:40.771918175 +0200
+@@ -151,6 +151,7 @@
  
- install: $(MOFILES)
+ install: $(MOFILES) $(MOCONVERTED)
        @$(MAKE) prefixcheck
 +      install -d $(LOCALEDIR); \
-       for lang in $(LANGUAGES); do \
+       for lang in $(LANGUAGES) $(CONVERTED); do \
          dir=$(LOCALEDIR)/$$lang/; \
          if test ! -x "$$dir"; then \
This page took 0.030873 seconds and 4 git commands to generate.