ports/71540: Syntax error in port cad/qcad
Rainer Goellner
rainer at jabbe.de
Thu Sep 9 19:30:25 UTC 2004
>Number: 71540
>Category: ports
>Synopsis: Syntax error in port cad/qcad
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Sep 09 19:30:24 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Rainer Goellner
>Release: 5.2.1-RELEASE-p9 i386
>Organization:
privat
>Environment:
should not matter
>Description:
Obiously misplaced parenthesis, sf. patch.
The error is corrected in qcad's CVS tree:
http://ribbonsoft.dyndns.org/cgi-bin/qcad/viewcvs.cgi/qcadlib/src/engine/rs_graphic.cpp
>How-To-Repeat:
Just try to make the port.
>Fix:
--- patch-ab begins here ---
--- qcadlib/src/engine/rs_graphic.cpp.orig Thu Sep 9 07:31:40 2004
+++ qcadlib/src/engine/rs_graphic.cpp Thu Sep 9 07:32:03 2004
@@ -518,7 +518,7 @@
if (fabs(s.x)>1.0e-6) {
fx = ps.x / s.x;
}
- if (fabs(s.y>1.0e-6)) {
+ if (fabs(s.y)>1.0e-6) {
fy = ps.y / s.y;
}
--- patch-ab ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list