Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001994graphvizDotty/Lneato/Leftypublic2010-11-17 06:002011-04-28 04:03
ReporterMatthew Burt 
Assigned Toellson 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSx86-Solaris-8OS Version
Summary0001994: Graphviz 2.26.3 doesn't compile on Solaris 8
Description



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 :-
<CD>
--- 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>
</CD>
Additional Information

[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.


TagsNo tags attached.
AUXILLARY-FILES
DATE-FIXED
FIX-COMMENT See above for patch
FORMER-ID2079
INPUT-FILE
OUTPUT-FILE
STATUS-COMMENTFixed
VERSION     2.26.3
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2011-04-28 04:03 user1 New Issue
2011-04-28 04:03 user1 Assigned To => user695


MantisBT 1.2.5[^]
Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker