Number: 2079
Title: Graphviz 2.26.3 doesn't compile on Solaris 8
Submitter: Matthew Burt
Date: Wed Nov 17 06:00:45 2010
Subsys: Dotty/Lneato/Lefty
Version: 2.26.3
System: x86-Solaris-8
Severity: minor
Problem:
Solaris 8 provides the inttypes.h include file, but not stdint.h. So cmd/lefty/ws/x11/libfilereq/Draw.c fails to compile, as this has a naked #include "stdint.h" in it. This seems to have been introduced as a response to bug report 1786.

Patch is to use the configure macros as follows :-


--- cmd/lefty/ws/x11/libfilereq/Draw.c.orig	2009-10-13 15:20:29.000000000 +0100
+++ cmd/lefty/ws/x11/libfilereq/Draw.c	2010-11-17 10:25:43.650634000 +0000
@@ -44,7 +44,12 @@
  */

#include <stdio.h> +#ifdef HAVE_STDINT_H #include <stdint.h> +#endif +#ifdef HAVE_INTTYPES_H +#include <inttypes.h> +#endif #include "SFinternal.h" #include "xstat.h" #include <X11/StringDefs.h>


Comments:
[ellson] It seems I have these conditionals in the development versions of graphviz, exactly as you suggest, since January 2010.

I guess its time we made a new stable release....

Thanks anyway.
Fix: See above for patch
Owner: ellson
Status: Fixed