073263
To: vim_dev@googlegroups.com
073263
Subject: Patch 7.4.322
073263
Fcc: outbox
073263
From: Bram Moolenaar <Bram@moolenaar.net>
073263
Mime-Version: 1.0
073263
Content-Type: text/plain; charset=UTF-8
073263
Content-Transfer-Encoding: 8bit
073263
------------
073263
073263
Patch 7.4.322
073263
Problem:    Using "msgfmt" is hard coded, cannot use "gmsgfmt".
073263
Solution:   Use the msgfmt command found by configure. (Danek Duvall)
073263
Files:	    src/config.mk.in, src/po/Makefile
073263
073263
073263
*** ../vim-7.4.321/src/config.mk.in	2010-11-03 22:26:24.000000000 +0100
073263
--- src/config.mk.in	2014-06-12 17:41:12.892268607 +0200
073263
***************
073263
*** 164,169 ****
073263
--- 164,171 ----
073263
  ### If the *.po files are to be translated to *.mo files.
073263
  MAKEMO		= @MAKEMO@
073263
  
073263
+ MSGFMT		= @MSGFMT@
073263
+ 
073263
  # Make sure that "make first" will run "make all" once configure has done its
073263
  # work.  This is needed when using the Makefile in the top directory.
073263
  first: all
073263
*** ../vim-7.4.321/src/po/Makefile	2013-06-23 13:26:12.000000000 +0200
073263
--- src/po/Makefile	2014-06-12 17:45:19.116277922 +0200
073263
***************
073263
*** 1,5 ****
073263
--- 1,8 ----
073263
  # Makefile for the Vim message translations.
073263
  
073263
+ # Include stuff found by configure.
073263
+ include ../auto/config.mk
073263
+ 
073263
  # TODO make this configurable
073263
  # Note: ja.sjis, *.cp1250 and zh_CN.cp936 are only for MS-Windows, they are
073263
  # not installed on Unix
073263
***************
073263
*** 133,139 ****
073263
  # tools 0.10.37, which use a slightly different .po file format that is not
073263
  # compatible with Solaris (and old gettext implementations) unless these are
073263
  # set.  gettext 0.10.36 will not work!
073263
! MSGFMT = OLD_PO_FILE_INPUT=yes msgfmt -v
073263
  XGETTEXT = OLD_PO_FILE_INPUT=yes OLD_PO_FILE_OUTPUT=yes xgettext
073263
  MSGMERGE = OLD_PO_FILE_INPUT=yes OLD_PO_FILE_OUTPUT=yes msgmerge
073263
  
073263
--- 136,142 ----
073263
  # tools 0.10.37, which use a slightly different .po file format that is not
073263
  # compatible with Solaris (and old gettext implementations) unless these are
073263
  # set.  gettext 0.10.36 will not work!
073263
! MSGFMTCMD = OLD_PO_FILE_INPUT=yes $(MSGFMT) -v
073263
  XGETTEXT = OLD_PO_FILE_INPUT=yes OLD_PO_FILE_OUTPUT=yes xgettext
073263
  MSGMERGE = OLD_PO_FILE_INPUT=yes OLD_PO_FILE_OUTPUT=yes msgmerge
073263
  
073263
***************
073263
*** 142,148 ****
073263
  .PHONY: all install uninstall prefixcheck converted check clean checkclean distclean update-po $(LANGUAGES) $(CONVERTED)
073263
  
073263
  .po.mo:
073263
! 	$(MSGFMT) -o $@ $<
073263
  
073263
  .po.ck:
073263
  	$(VIM) -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq $<
073263
--- 145,151 ----
073263
  .PHONY: all install uninstall prefixcheck converted check clean checkclean distclean update-po $(LANGUAGES) $(CONVERTED)
073263
  
073263
  .po.mo:
073263
! 	$(MSGFMTCMD) -o $@ $<
073263
  
073263
  .po.ck:
073263
  	$(VIM) -u NONE -e -X -S check.vim -c "if error == 0 | q | endif" -c cq $<
073263
*** ../vim-7.4.321/src/version.c	2014-06-12 16:03:24.268046589 +0200
073263
--- src/version.c	2014-06-12 17:42:27.584271433 +0200
073263
***************
073263
*** 736,737 ****
073263
--- 736,739 ----
073263
  {   /* Add new patch number below this line */
073263
+ /**/
073263
+     322,
073263
  /**/
073263
073263
-- 
073263
If I tell you "you have a beautiful body", would you hold it against me?
073263
073263
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
073263
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
073263
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
073263
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///