]> git.pld-linux.org Git - packages/vim.git/commitdiff
- up to 7.4.1236 auto/th/vim-7.4.1236-1
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Mon, 1 Feb 2016 22:38:12 +0000 (23:38 +0100)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Mon, 1 Feb 2016 22:38:12 +0000 (23:38 +0100)
vim-home_etc.patch
vim-localedir.patch
vim.spec

index 57497c1997a1c2128d7e5be860cbc22c1dc92a70..cf2eb79be04a2c4647b0bda9f0454c90e38f1f79 100644 (file)
@@ -60,24 +60,25 @@ diff -Nru vim62.orig/src/misc1.c vim62/src/misc1.c
  #  endif
  # endif
  # if !defined(VIMINFO_FILE2) && defined(OS2)
-@@ -373,7 +373,7 @@
- #  ifdef VMS
- #   define DFLT_VDIR    "sys$login:vimfiles/view"
- #  else
--#   define DFLT_VDIR    "$HOME/.vim/view"       /* default for 'viewdir' */
-+#   define DFLT_VDIR    "$HOME_ETC/.vim/view"       /* default for 'viewdir' */
- #  endif
+@@ -362,7 +362,7 @@ typedef struct dsc$descriptor   DESC;
+ # ifdef VMS
+ #  define DFLT_VDIR    "sys$login:vimfiles/view"
+ # else
+-#  define DFLT_VDIR    "$HOME/.vim/view"       /* default for 'viewdir' */
++#  define DFLT_VDIR    "$HOME_ETC/.vim/view"       /* default for 'viewdir' */
  # endif
  #endif
 @@ -387,9 +387,9 @@
- #  define DFLT_RUNTIMEPATH      "sys$login:vimfiles,$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after,sys$login:vimfiles/after"
+ # define DFLT_RUNTIMEPATH      "sys$login:vimfiles,$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after,sys$login:vimfiles/after"
+ #else
+ # ifdef RUNTIME_GLOBAL
+-#  define DFLT_RUNTIMEPATH    "~/.vim," RUNTIME_GLOBAL ",$VIMRUNTIME," RUNTIME_GLOBAL "/after,~/.vim/after"
++#  define DFLT_RUNTIMEPATH    "$HOME_ETC/.vim," RUNTIME_GLOBAL ",$VIMRUNTIME," RUNTIME_GLOBAL "/after,$HOME_ETC/.vim/after"
  # else
- #  ifdef RUNTIME_GLOBAL
--#   define DFLT_RUNTIMEPATH   "~/.vim," RUNTIME_GLOBAL ",$VIMRUNTIME," RUNTIME_GLOBAL "/after,~/.vim/after"
-+#   define DFLT_RUNTIMEPATH   "$HOME_ETC/.vim," RUNTIME_GLOBAL ",$VIMRUNTIME," RUNTIME_GLOBAL "/after,$HOME_ETC/.vim/after"
- #  else
--#   define DFLT_RUNTIMEPATH   "~/.vim,$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after,~/.vim/after"
-+#   define DFLT_RUNTIMEPATH   "$HOME_ETC/.vim,$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after,$HOME_ETC/.vim/after"
- #  endif
+-#  define DFLT_RUNTIMEPATH    "~/.vim,$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after,~/.vim/after"
++#  define DFLT_RUNTIMEPATH    "$HOME_ETC/.vim,$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after,$HOME_ETC/.vim/after"
  # endif
  #endif
+ #ifndef VMS
index 67f6a272501adb32268912d0b0a9d27a1169c612..0a24c44bc0e473c6499e32990366ec58ddac1a72 100644 (file)
@@ -1,6 +1,6 @@
 --- vim72/src/main.c~  2009-04-15 01:00:47.000000000 +0300
 +++ vim72/src/main.c   2009-04-15 01:11:33.555899981 +0300
-@@ -1382,23 +1382,10 @@
+@@ -1573,24 +1573,10 @@ init_locale(void)
  
  # ifdef FEAT_GETTEXT
      {
@@ -9,10 +9,10 @@
 -
  #  ifdef DYNAMIC_GETTEXT
        /* Initialize the gettext library */
-       dyn_libintl_init(NULL);
+       dyn_libintl_init();
  #  endif
--      /* expand_env() doesn't work yet, because chartab[] is not initialized
--       * yet, call vim_getenv() directly */
+-      /* expand_env() doesn't work yet, because g_chartab[] is not
+-       * initialized yet, call vim_getenv() directly */
 -      p = vim_getenv((char_u *)"VIMRUNTIME", &mustfree);
 -      if (p != NULL && *p != NUL)
 -      {
 -      }
 -      if (mustfree)
 -          vim_free(p);
-       textdomain(VIMPACKAGE);
+-      textdomain(VIMPACKAGE);
      }
  # 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
 @@ -4215,22 +4215,6 @@
index 9b57c521ef6b3bd16142e8a487484f94d6bb2f9d..d85ff4e10d34c0784ed97f6632c30060a238ae36 100644 (file)
--- a/vim.spec
+++ b/vim.spec
@@ -28,8 +28,8 @@
 # tail -n1 sources | awk '{print $2}'
 # VCS Commits: https://github.com/vim/vim/commits/master
 
-%define                ver             7.4.979
-%define                rel             4
+%define                ver             7.4.1236
+%define                rel             1
 Summary:       Vi IMproved - a Vi clone
 Summary(de.UTF-8):     VIsual editor iMproved
 Summary(es.UTF-8):     Editor visual incrementado
@@ -49,7 +49,7 @@ License:      Charityware
 Group:         Applications/Editors/Vim
 #Source0:      ftp://ftp.vim.org/pub/vim/unix/%{name}-%{ver}.tar.bz2
 Source0:       https://github.com/vim/vim/archive/v%{ver}.tar.gz
-# Source0-md5: dc289e3d5dd1b25e1e976ce7e704b47c
+# Source0-md5: bca123584eb843c485c687861d54ad27
 Source1:       http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
 # Source1-md5: bc4d1e115ca506ad7751b9bd2b773a7f
 Source2:       http://skawina.eu.org/mikolaj/usr_doc_pl.zip
This page took 0.203648 seconds and 4 git commands to generate.