Karsten Hopp cc4bf9
To: vim-dev@vim.org
Karsten Hopp cc4bf9
Subject: Patch 7.1.309
Karsten Hopp cc4bf9
Fcc: outbox
Karsten Hopp cc4bf9
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp cc4bf9
Mime-Version: 1.0
Karsten Hopp cc4bf9
Content-Type: text/plain; charset=ISO-8859-1
Karsten Hopp cc4bf9
Content-Transfer-Encoding: 8bit
Karsten Hopp cc4bf9
------------
Karsten Hopp cc4bf9
Karsten Hopp cc4bf9
Patch 7.1.309
Karsten Hopp cc4bf9
Problem:    Installing and testing with a shadow directory doesn't work.
Karsten Hopp cc4bf9
	    (James Vega)
Karsten Hopp cc4bf9
Solution:   Add "po" to the list of directories to link.  Also link the Vim
Karsten Hopp cc4bf9
	    scripts in testdir.  And a few more small fixes.
Karsten Hopp cc4bf9
Files:	    src/Makefile
Karsten Hopp cc4bf9
Karsten Hopp cc4bf9
Karsten Hopp cc4bf9
*** ../vim-7.1.308/src/Makefile	Wed Jun  4 14:28:33 2008
Karsten Hopp cc4bf9
--- src/Makefile	Sat May 24 15:39:39 2008
Karsten Hopp cc4bf9
***************
Karsten Hopp cc4bf9
*** 780,785 ****
Karsten Hopp cc4bf9
--- 780,787 ----
Karsten Hopp cc4bf9
  # 1) make config
Karsten Hopp cc4bf9
  # 2) edit auto/config.mk, add -n32 to LDFLAGS
Karsten Hopp cc4bf9
  # 3) make
Karsten Hopp cc4bf9
+ #
Karsten Hopp cc4bf9
+ #Alternatively: use -o32 instead of -n32.
Karsten Hopp cc4bf9
  ###
Karsten Hopp cc4bf9
  
Karsten Hopp cc4bf9
  ### (C)  On SCO Unix v3.2.5 (and probably other versions) the termcap library,
Karsten Hopp cc4bf9
***************
Karsten Hopp cc4bf9
*** 1074,1080 ****
Karsten Hopp cc4bf9
  # default vi editor, it will create a link from vi to Vim when doing
Karsten Hopp cc4bf9
  # "make install".  An existing file will be overwritten!
Karsten Hopp cc4bf9
  # When not using it, some make programs can't handle an undefined $(LINKIT).
Karsten Hopp cc4bf9
! #LINKIT = -ln -f -s $(BINDIR)/$(VIMTARGET) /usr/bin/vi
Karsten Hopp cc4bf9
  LINKIT = @echo >/dev/null
Karsten Hopp cc4bf9
  
Karsten Hopp cc4bf9
  ###
Karsten Hopp cc4bf9
--- 1076,1082 ----
Karsten Hopp cc4bf9
  # default vi editor, it will create a link from vi to Vim when doing
Karsten Hopp cc4bf9
  # "make install".  An existing file will be overwritten!
Karsten Hopp cc4bf9
  # When not using it, some make programs can't handle an undefined $(LINKIT).
Karsten Hopp cc4bf9
! #LINKIT = ln -f -s $(DEST_BIN)/$(VIMTARGET) $(DESTDIR)/usr/bin/vi
Karsten Hopp cc4bf9
  LINKIT = @echo >/dev/null
Karsten Hopp cc4bf9
  
Karsten Hopp cc4bf9
  ###
Karsten Hopp cc4bf9
***************
Karsten Hopp cc4bf9
*** 1290,1295 ****
Karsten Hopp cc4bf9
--- 1292,1300 ----
Karsten Hopp cc4bf9
  
Karsten Hopp cc4bf9
  DEPEND_CFLAGS = -DPROTO -DDEPEND -DFEAT_GUI $(LINT_CFLAGS)
Karsten Hopp cc4bf9
  
Karsten Hopp cc4bf9
+ # If you have problems with flags that cproto doesn't support, and you are
Karsten Hopp cc4bf9
+ # using GNU make, you can try using the other line to filter out arguments.
Karsten Hopp cc4bf9
+ #PFLAGS = $(PROTO_FLAGS) -DPROTO $(filter -D% -I%, $(LINT_CFLAGS))
Karsten Hopp cc4bf9
  PFLAGS = $(PROTO_FLAGS) -DPROTO $(LINT_CFLAGS)
Karsten Hopp cc4bf9
  
Karsten Hopp cc4bf9
  ALL_LIB_DIRS = $(GUI_LIBS_DIR) $(X_LIBS_DIR)
Karsten Hopp cc4bf9
***************
Karsten Hopp cc4bf9
*** 2174,2180 ****
Karsten Hopp cc4bf9
  
Karsten Hopp cc4bf9
  shadow:	runtime pixmaps
Karsten Hopp cc4bf9
  	mkdir $(SHADOWDIR)
Karsten Hopp cc4bf9
! 	cd $(SHADOWDIR); ln -s ../*.[ch] ../*.in ../*.sh ../*.xs ../*.xbm ../toolcheck ../proto ../vimtutor ../gvimtutor ../mkinstalldirs .
Karsten Hopp cc4bf9
  	mkdir $(SHADOWDIR)/auto
Karsten Hopp cc4bf9
  	cd $(SHADOWDIR)/auto; ln -s ../../auto/configure .
Karsten Hopp cc4bf9
  	cd $(SHADOWDIR); rm -f auto/link.sed
Karsten Hopp cc4bf9
--- 2179,2185 ----
Karsten Hopp cc4bf9
  
Karsten Hopp cc4bf9
  shadow:	runtime pixmaps
Karsten Hopp cc4bf9
  	mkdir $(SHADOWDIR)
Karsten Hopp cc4bf9
! 	cd $(SHADOWDIR); ln -s ../*.[ch] ../*.in ../*.sh ../*.xs ../*.xbm ../toolcheck ../proto ../po ../vimtutor ../gvimtutor ../mkinstalldirs .
Karsten Hopp cc4bf9
  	mkdir $(SHADOWDIR)/auto
Karsten Hopp cc4bf9
  	cd $(SHADOWDIR)/auto; ln -s ../../auto/configure .
Karsten Hopp cc4bf9
  	cd $(SHADOWDIR); rm -f auto/link.sed
Karsten Hopp cc4bf9
***************
Karsten Hopp cc4bf9
*** 2193,2199 ****
Karsten Hopp cc4bf9
  	cd $(SHADOWDIR)/testdir; ln -s ../../testdir/Makefile \
Karsten Hopp cc4bf9
  				 ../../testdir/vimrc.unix \
Karsten Hopp cc4bf9
  				 ../../testdir/*.in \
Karsten Hopp cc4bf9
! 				 ../../testdir/unix.vim \
Karsten Hopp cc4bf9
  				 ../../testdir/*.ok .
Karsten Hopp cc4bf9
  
Karsten Hopp cc4bf9
  # Link needed for doing "make install" in a shadow directory.
Karsten Hopp cc4bf9
--- 2198,2204 ----
Karsten Hopp cc4bf9
  	cd $(SHADOWDIR)/testdir; ln -s ../../testdir/Makefile \
Karsten Hopp cc4bf9
  				 ../../testdir/vimrc.unix \
Karsten Hopp cc4bf9
  				 ../../testdir/*.in \
Karsten Hopp cc4bf9
! 				 ../../testdir/*.vim \
Karsten Hopp cc4bf9
  				 ../../testdir/*.ok .
Karsten Hopp cc4bf9
  
Karsten Hopp cc4bf9
  # Link needed for doing "make install" in a shadow directory.
Karsten Hopp cc4bf9
*** ../vim-7.1.308/src/version.c	Wed Jun  4 14:28:28 2008
Karsten Hopp cc4bf9
--- src/version.c	Wed Jun  4 15:25:00 2008
Karsten Hopp cc4bf9
***************
Karsten Hopp cc4bf9
*** 668,669 ****
Karsten Hopp cc4bf9
--- 673,676 ----
Karsten Hopp cc4bf9
  {   /* Add new patch number below this line */
Karsten Hopp cc4bf9
+ /**/
Karsten Hopp cc4bf9
+     309,
Karsten Hopp cc4bf9
  /**/
Karsten Hopp cc4bf9
Karsten Hopp cc4bf9
-- 
Karsten Hopp cc4bf9
An alien life briefly visits earth.  Just before departing it leaves a
Karsten Hopp cc4bf9
message in the dust on the back of a white van.  The world is shocked
Karsten Hopp cc4bf9
and wants to know what it means.  After months of studies the worlds
Karsten Hopp cc4bf9
best linguistic scientists are able to decipher the message: "Wash me!".
Karsten Hopp cc4bf9
Karsten Hopp cc4bf9
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp cc4bf9
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp cc4bf9
\\\        download, build and distribute -- http://www.A-A-P.org        ///
Karsten Hopp cc4bf9
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///