Package: xgraph Version: 12.1-3 Severity: important Tags: patch Our automated buildd log filter[1] detected a problem[2] that will cause your package to segfault on architectures where the size of a pointer is greater than the size of an integer, such as ia64.
[1]http://people.debian.org/~dannf/check-implicit-pointer-functions [2] Function `Malloc' implicitly converted to pointer at idraw.c:155 Function `Calloc' implicitly converted to pointer at st.c:78 Function `Malloc' implicitly converted to pointer at tgif.c:77 diff -urN xgraph-12.1.orig/idraw.c xgraph-12.1/idraw.c --- xgraph-12.1.orig/idraw.c 2001-10-07 23:53:08.000000000 -0600 +++ xgraph-12.1/idraw.c 2005-09-07 10:31:03.000000000 -0600 @@ -10,6 +10,7 @@ #include <X11/Xlib.h> #include "hard_devices.h" #include "xgout.h" +#include "xgraph.h" #define HEIGHT 792 #define FIX(X) X = HEIGHT - X; diff -urN xgraph-12.1.orig/tgif.c xgraph-12.1/tgif.c --- xgraph-12.1.orig/tgif.c 2001-10-07 23:53:13.000000000 -0600 +++ xgraph-12.1/tgif.c 2005-09-07 10:31:45.000000000 -0600 @@ -8,6 +8,7 @@ #include <X11/Xlib.h> #include "hard_devices.h" #include "xgout.h" +#include "xgraph.h" #define COLOR "DarkSlateGray" diff -urN xgraph-12.1.orig/xgraph.h xgraph-12.1/xgraph.h --- xgraph-12.1.orig/xgraph.h 2001-10-07 23:53:14.000000000 -0600 +++ xgraph-12.1/xgraph.h 2005-09-07 10:32:21.000000000 -0600 @@ -198,6 +198,7 @@ /* To make lint happy */ extern char *Malloc(); extern char *Realloc(); +extern char *Calloc(); extern void Free(); #ifndef _POSIX_SOURCE -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]