[Debian-med-packaging] Bug#429480: Lesstif patch for Vibrant apps' (clustalx, etc.) segfaults

Aaron M. Ucko ucko at debian.org
Fri Sep 21 19:23:06 UTC 2007

tags 439186 + patch

[control at b.d.o Bcc:ed]

AFAICT, the problem here stems from Lesstif 0.95.0's activation of
some "experimental" code (upstream's own description!) that lacks a
critical safeguard, which the following patch adds:

--- lesstif2-0.95.0.orig/lib/Xm-2.1/RenderTable.c
+++ lesstif2-0.95.0/lib/Xm-2.1/RenderTable.c
@@ -465,7 +465,7 @@
 	DEBUGOUT(_LtDebug(__FILE__, w, "_XmRenderTableFinaliseTag(%s)\n", tag));
 #if 1
 	/* Experimental start */
-	if (r->dpy == 0)
+	if (r->dpy == 0  &&  w)
 		r->dpy = XtDisplay(w);
 	/* Experimental end */

Could you please apply it, or authorize an NMU?


BTW, it would also be great if you could adjust debian/rules to
support DEBBUILDOPTS=...noopt... (by setting CFLAGS=-g and dropping
--enable-production); a -dbg package might also be handy, but would
require ftpmaster wait.

Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
Finger amu at monk.mit.edu (NOT a valid e-mail address) for more info.

More information about the Debian-med-packaging mailing list