From 414bfec1bc4d8607df8b00b1251573ddfa904945 Mon Sep 17 00:00:00 2001 From: Pav Lucistnik Date: Thu, 29 Dec 2005 20:04:14 +0000 Subject: - Fix build on 4.X PR: ports/91050 Submitted by: Sven Berkvens-Matthijsse --- graphics/graphviz/Makefile | 8 +++++++- graphics/graphviz/files/patch-lib-gvc-gvconfig.c | 10 ++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 graphics/graphviz/files/patch-lib-gvc-gvconfig.c (limited to 'graphics/graphviz') diff --git a/graphics/graphviz/Makefile b/graphics/graphviz/Makefile index d683bced86e5..916070326ce9 100644 --- a/graphics/graphviz/Makefile +++ b/graphics/graphviz/Makefile @@ -59,6 +59,12 @@ MLINKS= dot.1 circo.1 \ MYPORTDOCS= dotguide.pdf dottyguide.pdf leftyguide.pdf \ neatoguide.pdf Dot.ref FAQ.html +.include + +.if ${OSVERSION} < 500000 +USE_GCC= 3.4+ +.endif + post-install: .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} @@ -67,4 +73,4 @@ post-install: .endfor .endif -.include +.include diff --git a/graphics/graphviz/files/patch-lib-gvc-gvconfig.c b/graphics/graphviz/files/patch-lib-gvc-gvconfig.c new file mode 100644 index 000000000000..1b89d143d344 --- /dev/null +++ b/graphics/graphviz/files/patch-lib-gvc-gvconfig.c @@ -0,0 +1,10 @@ +--- 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 + + #ifndef DISABLE_LTDL ++#include + #include + #include + #include -- cgit v1.2.3