Lesstif patches - lesstif stable has not been updated in a long time and these

are recognized patches (5 out of 6 are in Debian stable). Required for
the arb package.


svn path=/nixpkgs/trunk/; revision=12952
This commit is contained in:
Pjotr Prins
2008-10-05 08:59:26 +00:00
parent 1587e34e0a
commit cb546965bc
7 changed files with 494 additions and 2 deletions
@@ -0,0 +1,11 @@
--- 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 */
#endif