Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Sep 2004 19:20:42 GMT
From:      Rainer Goellner <rainer@jabbe.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/71540: Syntax error in port cad/qcad
Message-ID:  <200409091920.i89JKg8w033068@www.freebsd.org>
Resent-Message-ID: <200409091930.i89JUPWB024389@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200409091920.i89JKg8w033068>