6853117
To: vim-dev@vim.org
6853117
Subject: Patch 7.0.017
6853117
Fcc: outbox
6853117
From: Bram Moolenaar <Bram@moolenaar.net>
6853117
Mime-Version: 1.0
6853117
Content-Type: text/plain; charset=ISO-8859-1
6853117
Content-Transfer-Encoding: 8bit
6853117
------------
6853117
6853117
Patch 7.0.017 (after 7.0.014)
6853117
Problem:    Linking gui_xmebw.c fails on Dec Alpha Tru64. (Rolfe)
6853117
Solution:   Adjust defines for Motif 1.2 and older.
6853117
Files:	    src/gui_xmebw.c
6853117
6853117
6853117
*** ../vim-7.0.016/src/gui_xmebw.c	Fri May 12 19:24:33 2006
6853117
--- src/gui_xmebw.c	Sat May 13 12:55:01 2006
6853117
***************
6853117
*** 47,59 ****
6853117
  #include "gui_xmebwp.h"
6853117
  
6853117
  /* Provide some missing wrappers, which are missed from the LessTif
6853117
!  * implementation.
6853117
   *
6853117
   * We neither use XmeGetPixmapData or _XmGetPixmapData, since with LessTif the
6853117
   * pixmap will not appear in it's caches properly. We cache the interresting
6853117
   * values in XmEnhancedButtonPart instead ourself.
6853117
   */
6853117
! #ifdef LESSTIF_VERSION
6853117
  # ifndef Lab_IsMenupane
6853117
  #  define Lab_IsMenupane(w) (Lab_MenuType(w) == (int)XmMENU_POPUP || \
6853117
  		    Lab_MenuType(w) == (int)XmMENU_PULLDOWN)
6853117
--- 47,59 ----
6853117
  #include "gui_xmebwp.h"
6853117
  
6853117
  /* Provide some missing wrappers, which are missed from the LessTif
6853117
!  * implementation.  Also missing in Motif 1.2 and earlier.
6853117
   *
6853117
   * We neither use XmeGetPixmapData or _XmGetPixmapData, since with LessTif the
6853117
   * pixmap will not appear in it's caches properly. We cache the interresting
6853117
   * values in XmEnhancedButtonPart instead ourself.
6853117
   */
6853117
! #if defined(LESSTIF_VERSION) || (XmVersion <= 1002)
6853117
  # ifndef Lab_IsMenupane
6853117
  #  define Lab_IsMenupane(w) (Lab_MenuType(w) == (int)XmMENU_POPUP || \
6853117
  		    Lab_MenuType(w) == (int)XmMENU_PULLDOWN)
6853117
*** ../vim-7.0.016/src/version.c	Sat May 13 09:16:38 2006
6853117
--- src/version.c	Sat May 13 13:00:03 2006
6853117
***************
6853117
*** 668,669 ****
6853117
--- 668,671 ----
6853117
  {   /* Add new patch number below this line */
6853117
+ /**/
6853117
+     17,
6853117
  /**/
6853117
6853117
-- 
6853117
hundred-and-one symptoms of being an internet addict:
6853117
141. You'd rather go to http://www.weather.com/ than look out your window.
6853117
6853117
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
6853117
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
6853117
\\\        download, build and distribute -- http://www.A-A-P.org        ///
6853117
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///