r754 - in /trunk/packages/vim: debian/changelog patches/gui_xmebw.c-lesstif_crash.diff patches/series

jamessan at users.alioth.debian.org jamessan at users.alioth.debian.org
Tue Aug 29 00:27:02 UTC 2006


Author: jamessan
Date: Tue Aug 29 00:26:59 2006
New Revision: 754

URL: http://svn.debian.org/wsvn/pkg-vim/?sc=1&rev=754
Log:
Patch to fix vim-lesstif gvim crash

Added:
    trunk/packages/vim/patches/gui_xmebw.c-lesstif_crash.diff
Modified:
    trunk/packages/vim/debian/changelog
    trunk/packages/vim/patches/series

Modified: trunk/packages/vim/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim/debian/changelog?rev=754&op=diff
==============================================================================
--- trunk/packages/vim/debian/changelog (original)
+++ trunk/packages/vim/debian/changelog Tue Aug 29 00:26:59 2006
@@ -1,7 +1,8 @@
-vim (1:7.0-066+1) UNRELEASED; urgency=low
+vim (1:7.0-066+1) UNRELEASED; urgency=medium
 
   [ Debian Vim Maintainers ]
   * New upstream patches (036 - 066), see README.gz for details.
+  * Urgency medium because of the fix to vim-lesstif's crash bug.
 
   [ James Vega ]
   * Add patches/de.po.diff, which differentiates between "Delete" and
@@ -11,6 +12,9 @@
     rest2web) files as the filetype 'rst'. (closes: #382541)
   * Update debian/rules to generate helptags for the plugins that are in
     /usr/share/vim/addons.
+  * Add patches/gui_xmebw.c-lesstif_crash.diff, which fixes the crash bug when
+    invoking gvim from the vim-lesstif variant. Thanks Ben Hutchings!
+    (closes: #378721)
 
   [ Stefano Zacchiroli ]
   * Modified patches/debchangelog.vim.diff so that when opening a changelog
@@ -19,7 +23,7 @@
     better recognition of tex vs plaintex filetype (namely it recognizes as
     latex files containing sectioning commands). (closes: #384479)
 
- -- James Vega <jamessan at debian.org>  Fri, 25 Aug 2006 08:26:03 -0400
+ -- James Vega <jamessan at debian.org>  Mon, 28 Aug 2006 20:26:13 -0400
 
 vim (1:7.0-035+1) unstable; urgency=low
 

Added: trunk/packages/vim/patches/gui_xmebw.c-lesstif_crash.diff
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim/patches/gui_xmebw.c-lesstif_crash.diff?rev=754&op=file
==============================================================================
--- trunk/packages/vim/patches/gui_xmebw.c-lesstif_crash.diff (added)
+++ trunk/packages/vim/patches/gui_xmebw.c-lesstif_crash.diff Tue Aug 29 00:26:59 2006
@@ -1,0 +1,31 @@
+Index: vim/src/gui_xmebw.c
+===================================================================
+--- vim/src/gui_xmebw.c.orig
++++ vim/src/gui_xmebw.c
+@@ -138,6 +138,17 @@
+     }
+ };
+ 
++XmPrimitiveClassExtRec xmEnhancedButtonPrimClassExtRec =
++{
++    /* next_extension      */ NULL,
++    /* record_type         */ NULLQUARK,
++    /* version             */ XmPrimitiveClassExtVersion,
++    /* record_size         */ sizeof(XmPrimitiveClassExtRec),
++    /* widget_baseline     */ XmInheritBaselineProc,
++    /* widget_display_rect */ XmInheritDisplayRectProc,
++    /* widget_margins      */ NULL
++};
++
+ XmEnhancedButtonClassRec xmEnhancedButtonClassRec =
+ {
+     {
+@@ -184,7 +195,7 @@
+ 	/* arm and activate	 */ XmInheritArmAndActivate,
+ 	/* synthetic resources	 */ NULL,
+ 	/* number of syn res	 */ 0,
+-	/* extension		 */ NULL,
++	/* extension		 */ (XtPointer)&xmEnhancedButtonPrimClassExtRec,
+     },
+ 
+     /* label_class fields */

Modified: trunk/packages/vim/patches/series
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim/patches/series?rev=754&op=diff
==============================================================================
--- trunk/packages/vim/patches/series (original)
+++ trunk/packages/vim/patches/series Tue Aug 29 00:26:59 2006
@@ -8,3 +8,4 @@
 php.vim.diff -p0
 de.po.diff -p0
 filetype.vim-better_tex_vs_plaintex.diff -p0
+gui_xmebw.c-lesstif_crash.diff -p0




More information about the pkg-vim-maintainers mailing list