Subject: pkg/35476: x11/xflame 64bits getenv return char* not int
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Gilles Dauphin <dauphin@enst.fr>
List: pkgsrc-bugs
Date: 01/24/2007 13:30:00
>Number: 35476
>Category: pkg
>Synopsis: x11/xflame 64bits getenv return char* not int
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Jan 24 13:30:00 +0000 2007
>Originator: Gilles Dauphin
>Release: SunOS 5.10 i86pc
>Organization:
ENST
>Environment:
System: SunOS bi.enst.fr 5.10 Generic_118855-19 i86pc
>Description:
xflame core dump Solaris amd64 gcc -m64
>How-To-Repeat:
run xflame
>Fix:
--- xflame.c.orig Wed Dec 16 08:28:03 1998
+++ xflame.c Wed Jan 24 14:19:40 2007
@@ -29,6 +29,8 @@
/* INCLUDES! */
#include <stdio.h>
#include <unistd.h>
+#include <stdlib.h>
+#include <string.h>
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <time.h>