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