Package: lesstif2 Version: 1:0.95.0-2.1 Followup-For: Bug #486402 The reason of the crash is a missing include in Xpmcreate.c (with a similar one in Xpmscan.c). The reason is that PutPixel32 is incorrect for 64bits (even if changing (unsigned long *) in (unsigned int *) would probably cure the problem).
-- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (990, 'testing'), (50, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.28.7 (SMP w/2 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages lesstif2 depends on: ii libc6 2.7-18 GNU C Library: Shared libraries ii libice6 2:1.0.5-1 X11 Inter-Client Exchange library ii libsm6 2:1.1.0-2 X11 Session Management library ii libx11-6 2:1.1.5-2 X11 client-side library ii libxext6 2:1.0.4-1 X11 miscellaneous extension librar ii libxp6 1:1.0.0.xsf1-2 X Printing Extension (Xprint) clie ii libxt6 1:1.0.5-3 X11 toolkit intrinsics library lesstif2 recommends no packages. lesstif2 suggests no packages. -- no debconf information
--- lesstif2-0.95.0.orig/lib/Xm-2.1/Xpmscan.c +++ lesstif2-0.95.0/lib/Xm-2.1/Xpmscan.c @@ -62,6 +62,7 @@ #endif #include <X11/Intrinsic.h> /* Avoid re-definition of Pixel-type */ +#include <X11/Xmd.h> /* For LONG64 */ #include <Xm/XpmP.h> #include <XmI/XpmI.h> --- lesstif2-0.95.0.orig/lib/Xm-2.1/Xpmcreate.c +++ lesstif2-0.95.0/lib/Xm-2.1/Xpmcreate.c @@ -73,6 +73,7 @@ #endif #include <X11/Intrinsic.h> /* Avoid re-definition of Pixel-type */ +#include <X11/Xmd.h> /* For LONG64 */ #include <Xm/XpmP.h> #include <XmI/XpmI.h>