Subject: pkg/32618: MesaLib-6.4.1 Solaris 10 gcc -m64
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Gilles Dauphin <dauphin@enst.fr>
List: pkgsrc-bugs
Date: 01/24/2006 18:30:01
>Number: 32618
>Category: pkg
>Synopsis: MesaLib-6.4.1 Solaris 10 gcc -m64
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jan 24 18:30:00 +0000 2006
>Originator: Gilles Dauphin
>Release: SunOS 5.10 i86pc
>Organization:
ENST
>Environment:
System: SunOS bi.enst.fr 5.10 Generic_118844-20 i86pc
>Description:
in include/GL/glxext.h line 340: int64_t is still define on solaris and
conflict with /usr/include/sys/int_types.h:64
>How-To-Repeat:
bmake
>Fix:
--- include/GL/glxext.h.orig Mon Nov 7 22:20:29 2005
+++ include/GL/glxext.h Tue Jan 24 19:18:49 2006
@@ -333,7 +333,7 @@
#if defined(__sun__)
#include <inttypes.h>
-#if defined(__STDC__)
+#if defined(__STDC__) && !defined(_INT64_TYPE)
#if defined(__arch64__)
typedef long int int64_t;
#else