summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/Cgraph/Makefile1
-rw-r--r--graphics/Cgraph/files/patch-grset.c17
2 files changed, 18 insertions, 0 deletions
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);
+ }
+