From c5a61d17398236bd003dba2e7154da56adf3e999 Mon Sep 17 00:00:00 2001 From: Anton Berezin Date: Wed, 11 Jun 2003 14:36:43 +0000 Subject: [PATCH] Fix this port build & library linking. Submitted by: Meikel Brandmeyer --- graphics/Cgraph/Makefile | 1 + graphics/Cgraph/files/patch-grset.c | 17 +++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 graphics/Cgraph/files/patch-grset.c diff --git a/graphics/Cgraph/Makefile b/graphics/Cgraph/Makefile index 1d4814930e8d..6e77320a3f0c 100644 --- a/graphics/Cgraph/Makefile +++ b/graphics/Cgraph/Makefile @@ -7,6 +7,7 @@ PORTNAME= Cgraph PORTVERSION= 2.04 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= http://www.tobez.org/download/port-mirrors/graphics/Cgraph/ DISTNAME= ${PORTNAME}${PORTVERSION} diff --git a/graphics/Cgraph/files/patch-grset.c b/graphics/Cgraph/files/patch-grset.c new file mode 100644 index 000000000000..eafc43f7ff74 --- /dev/null +++ b/graphics/Cgraph/files/patch-grset.c @@ -0,0 +1,17 @@ +--- grset.c.orig Mon Jun 9 16:56:08 2003 ++++ grset.c Mon Jun 9 16:56:22 2003 +@@ -14,10 +14,10 @@ + + int cg_reset(void) + { +- lw_aorigin(-cgxorig,-cgyorig); /* Go to the bottom left corner of the page */ +- lw_linewidth(1.0); +- lw_gray(0.0); +- lw_dash(0,0.); ++ cg_aorigin(-cgxorig,-cgyorig); /* Go to the bottom left corner of the page */ ++ cg_linewidth(1.0); ++ cg_gray(0.0); ++ cg_dash(0,0.); + return(0); + } +