ports/91050: [PATCH] Port graphics/graphviz does not compile with FreeBSD 4.x

Sven Berkvens-Matthijsse sven at ilse.net
Thu Dec 29 11:50:04 UTC 2005


>Number:         91050
>Category:       ports
>Synopsis:       [PATCH] Port graphics/graphviz does not compile with FreeBSD 4.x
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 29 11:50:02 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Sven Berkvens-Matthijsse
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
ilse media BV
>Environment:
System: FreeBSD serv4.ilse.net 4.6-STABLE FreeBSD 4.6-STABLE #0: Tue Aug 6 13:31:27 CEST 2002 root at serv4.ilse.net:/usr/src/sys/compile/serv4 i386


	
>Description:
	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.
>How-To-Repeat:
	Try to install it with FreeBSD 4.x.
>Fix:
	Add the following patch file: files/patch-lib::gvc::gvconfig.c

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

	Futhermore, add USE_GCC=3.4 to the Makefile.
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list