Package: sam Version: 4.3-1.1 While building for arch Alpha, it was necessary to include <stdlib.h> to provide the correct prototype for malloc in libXg/mkfont.c. The cast to a pointer only means that the value is cast to a pointer; however, in the absence of a prototype, the default value type is int.
diff -ru sam-4.3/libXg/mkfont.c sam-4.3-ps/libXg/mkfont.c --- sam-4.3/libXg/mkfont.c Fri Nov 21 00:52:42 1997 +++ sam-4.3-ps/libXg/mkfont.c Tue Apr 14 20:20:21 1998 @@ -1,4 +1,5 @@ /* Copyright (c) 1992 AT&T - All rights reserved. */ +#include <stdlib.h> #include <libc.h> #include <libg.h> #include <string.h> Paul Slootman -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]