073263
To: vim_dev@googlegroups.com
073263
Subject: Patch 7.4.495
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.495
073263
Problem:    XPM isn't used correctly in the Cygwin Makefile.
073263
Solution:   Include the rules like in Make_ming.mak. (Ken Takata)
073263
Files:	    src/Make_cyg.mak
073263
073263
073263
*** ../vim-7.4.494/src/Make_cyg.mak	2014-10-15 12:07:07.610009454 +0200
073263
--- src/Make_cyg.mak	2014-11-05 13:38:03.688828413 +0100
073263
***************
073263
*** 485,497 ****
073263
  endif
073263
  
073263
  ##############################
073263
  ifneq ($(XPM),no)
073263
  # Only allow XPM for a GUI build.
073263
  DEFINES += -DFEAT_XPM_W32
073263
! INCLUDES += -I$(XPM)/include
073263
  EXTRA_OBJS += $(OUTDIR)/xpm_w32.o
073263
  EXTRA_LIBS += -L$(XPM)/lib -lXpm
073263
  endif
073263
  
073263
  ##############################
073263
  EXE = gvim$(DEBUG_SUFFIX).exe
073263
--- 485,516 ----
073263
  endif
073263
  
073263
  ##############################
073263
+ ifndef XPM
073263
+ ifeq ($(ARCH),i386)
073263
+ XPM = xpm/x86
073263
+ endif
073263
+ ifeq ($(ARCH),i486)
073263
+ XPM = xpm/x86
073263
+ endif
073263
+ ifeq ($(ARCH),i586)
073263
+ XPM = xpm/x86
073263
+ endif
073263
+ ifeq ($(ARCH),i686)
073263
+ XPM = xpm/x86
073263
+ endif
073263
+ ifeq ($(ARCH),x86-64)
073263
+ XPM = xpm/x64
073263
+ endif
073263
+ endif
073263
+ ifdef XPM
073263
  ifneq ($(XPM),no)
073263
  # Only allow XPM for a GUI build.
073263
  DEFINES += -DFEAT_XPM_W32
073263
! INCLUDES += -I$(XPM)/include -I$(XPM)/../include
073263
  EXTRA_OBJS += $(OUTDIR)/xpm_w32.o
073263
  EXTRA_LIBS += -L$(XPM)/lib -lXpm
073263
  endif
073263
+ endif
073263
  
073263
  ##############################
073263
  EXE = gvim$(DEBUG_SUFFIX).exe
073263
*** ../vim-7.4.494/src/version.c	2014-11-05 09:53:19.989153321 +0100
073263
--- src/version.c	2014-11-05 13:39:27.516826393 +0100
073263
***************
073263
*** 743,744 ****
073263
--- 743,746 ----
073263
  {   /* Add new patch number below this line */
073263
+ /**/
073263
+     495,
073263
  /**/
073263
073263
-- 
073263
ARTHUR:  You fight with the strength of many men, Sir knight.
073263
         I am Arthur, King of the Britons.  [pause]
073263
         I seek the finest and the bravest knights in the land to join me
073263
         in my Court of Camelot.  [pause]
073263
         You have proved yourself worthy; will you join me?  [pause]
073263
         You make me sad.  So be it.  Come, Patsy.
073263
BLACK KNIGHT:  None shall pass.
073263
                                  The Quest for the Holy Grail (Monty Python)
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    ///