3ef2ca
To: vim_dev@googlegroups.com
3ef2ca
Subject: Patch 7.4.495
3ef2ca
Fcc: outbox
3ef2ca
From: Bram Moolenaar <Bram@moolenaar.net>
3ef2ca
Mime-Version: 1.0
3ef2ca
Content-Type: text/plain; charset=UTF-8
3ef2ca
Content-Transfer-Encoding: 8bit
3ef2ca
------------
3ef2ca
3ef2ca
Patch 7.4.495
3ef2ca
Problem:    XPM isn't used correctly in the Cygwin Makefile.
3ef2ca
Solution:   Include the rules like in Make_ming.mak. (Ken Takata)
3ef2ca
Files:	    src/Make_cyg.mak
3ef2ca
3ef2ca
3ef2ca
*** ../vim-7.4.494/src/Make_cyg.mak	2014-10-15 12:07:07.610009454 +0200
3ef2ca
--- src/Make_cyg.mak	2014-11-05 13:38:03.688828413 +0100
3ef2ca
***************
3ef2ca
*** 485,497 ****
3ef2ca
  endif
3ef2ca
  
3ef2ca
  ##############################
3ef2ca
  ifneq ($(XPM),no)
3ef2ca
  # Only allow XPM for a GUI build.
3ef2ca
  DEFINES += -DFEAT_XPM_W32
3ef2ca
! INCLUDES += -I$(XPM)/include
3ef2ca
  EXTRA_OBJS += $(OUTDIR)/xpm_w32.o
3ef2ca
  EXTRA_LIBS += -L$(XPM)/lib -lXpm
3ef2ca
  endif
3ef2ca
  
3ef2ca
  ##############################
3ef2ca
  EXE = gvim$(DEBUG_SUFFIX).exe
3ef2ca
--- 485,516 ----
3ef2ca
  endif
3ef2ca
  
3ef2ca
  ##############################
3ef2ca
+ ifndef XPM
3ef2ca
+ ifeq ($(ARCH),i386)
3ef2ca
+ XPM = xpm/x86
3ef2ca
+ endif
3ef2ca
+ ifeq ($(ARCH),i486)
3ef2ca
+ XPM = xpm/x86
3ef2ca
+ endif
3ef2ca
+ ifeq ($(ARCH),i586)
3ef2ca
+ XPM = xpm/x86
3ef2ca
+ endif
3ef2ca
+ ifeq ($(ARCH),i686)
3ef2ca
+ XPM = xpm/x86
3ef2ca
+ endif
3ef2ca
+ ifeq ($(ARCH),x86-64)
3ef2ca
+ XPM = xpm/x64
3ef2ca
+ endif
3ef2ca
+ endif
3ef2ca
+ ifdef XPM
3ef2ca
  ifneq ($(XPM),no)
3ef2ca
  # Only allow XPM for a GUI build.
3ef2ca
  DEFINES += -DFEAT_XPM_W32
3ef2ca
! INCLUDES += -I$(XPM)/include -I$(XPM)/../include
3ef2ca
  EXTRA_OBJS += $(OUTDIR)/xpm_w32.o
3ef2ca
  EXTRA_LIBS += -L$(XPM)/lib -lXpm
3ef2ca
  endif
3ef2ca
+ endif
3ef2ca
  
3ef2ca
  ##############################
3ef2ca
  EXE = gvim$(DEBUG_SUFFIX).exe
3ef2ca
*** ../vim-7.4.494/src/version.c	2014-11-05 09:53:19.989153321 +0100
3ef2ca
--- src/version.c	2014-11-05 13:39:27.516826393 +0100
3ef2ca
***************
3ef2ca
*** 743,744 ****
3ef2ca
--- 743,746 ----
3ef2ca
  {   /* Add new patch number below this line */
3ef2ca
+ /**/
3ef2ca
+     495,
3ef2ca
  /**/
3ef2ca
3ef2ca
-- 
3ef2ca
ARTHUR:  You fight with the strength of many men, Sir knight.
3ef2ca
         I am Arthur, King of the Britons.  [pause]
3ef2ca
         I seek the finest and the bravest knights in the land to join me
3ef2ca
         in my Court of Camelot.  [pause]
3ef2ca
         You have proved yourself worthy; will you join me?  [pause]
3ef2ca
         You make me sad.  So be it.  Come, Patsy.
3ef2ca
BLACK KNIGHT:  None shall pass.
3ef2ca
                                  The Quest for the Holy Grail (Monty Python)
3ef2ca
3ef2ca
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
3ef2ca
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
3ef2ca
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
3ef2ca
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///