Bug 91050 - [PATCH] Port graphics/graphviz does not compile with FreeBSD 4.x
Summary: [PATCH] Port graphics/graphviz does not compile with FreeBSD 4.x
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-29 11:50 UTC by Sven Berkvens-Matthijsse
Modified: 2005-12-29 20:15 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Berkvens-Matthijsse 2005-12-29 11:50:02 UTC
	The port graphics/graphviz does not compile with FreeBSD 4.x. There
	are two reasons: first, it does not compile with GCC 2.95.x because it
	uses non-supported options and second, it includes regex.h without
	including <sys/types.h> first, which FreeBSD 4.x requires.

Fix: Add the following patch file: files/patch-lib::gvc::gvconfig.c



Futhermore, add USE_GCC=3.4 to the Makefile.--uiEX73OSimEpk2jeFmJcyIih71OMtBtBJe5q2aCrf6dHJ3Y7
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

--- lib/gvc/gvconfig.c.orig	Thu Dec 29 12:33:58 2005
+++ lib/gvc/gvconfig.c	Thu Dec 29 11:02:51 2005
@@ -21,6 +21,7 @@
 #include	<string.h>
 
 #ifndef DISABLE_LTDL
+#include	<sys/types.h>
 #include	<regex.h>
 #include	<sys/stat.h>
 #include	<unistd.h>
How-To-Repeat: 	Try to install it with FreeBSD 4.x.
Comment 1 Pav Lucistnik freebsd_committer freebsd_triage 2005-12-29 20:15:31 UTC
State Changed
From-To: open->closed

Committed, thanks!