aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/Cgraph
diff options
context:
space:
mode:
authortobez <tobez@FreeBSD.org>2003-06-11 22:36:43 +0800
committertobez <tobez@FreeBSD.org>2003-06-11 22:36:43 +0800
commitacbf198f8bfacd77ea82f77bbb5656cb429bd70f (patch)
tree43d2b12678d5645a2d5ab619c6c777affef9be8c /graphics/Cgraph
parent5337731c774682f18d9950608fcf7a2cd3e83c09 (diff)
downloadfreebsd-ports-gnome-acbf198f8bfacd77ea82f77bbb5656cb429bd70f.tar.gz
freebsd-ports-gnome-acbf198f8bfacd77ea82f77bbb5656cb429bd70f.tar.zst
freebsd-ports-gnome-acbf198f8bfacd77ea82f77bbb5656cb429bd70f.zip
Fix this port build & library linking.
Submitted by: Meikel Brandmeyer <Brandels_Mikesh@web.de>
Diffstat (limited to 'graphics/Cgraph')
-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);
+ }
+