Fix this port build & library linking.
Submitted by: Meikel Brandmeyer <Brandels_Mikesh@web.de>
This commit is contained in:
parent
900b54806b
commit
c5a61d1739
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=82785
2 changed files with 18 additions and 0 deletions
|
@ -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}
|
||||
|
|
17
graphics/Cgraph/files/patch-grset.c
Normal file
17
graphics/Cgraph/files/patch-grset.c
Normal file
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in a new issue