summaryrefslogtreecommitdiffstats
path: root/cad/qcad/files
diff options
context:
space:
mode:
authormr <mr@FreeBSD.org>2004-09-12 08:53:13 +0000
committermr <mr@FreeBSD.org>2004-09-12 08:53:13 +0000
commitddae9e9aa2cbbfac2ed71d42a4cab71a08dee875 (patch)
tree4deca682a6d609a425d089b800d2c2a9a1c9232a /cad/qcad/files
parent328f0e88520838751e714cca2e1d2960ceb4284d (diff)
downloadFreeBSD-ports-ddae9e9aa2cbbfac2ed71d42a4cab71a08dee875.zip
FreeBSD-ports-ddae9e9aa2cbbfac2ed71d42a4cab71a08dee875.tar.gz
Fix compilation error due to wrong set parenthesis.
PR: ports/71540 (with fix), ports/71574 Submitted by: Rainer Goellner <rainer at jabbe.de> Approved by: portmgr
Diffstat (limited to 'cad/qcad/files')
-rw-r--r--cad/qcad/files/patch-ab11
1 files changed, 11 insertions, 0 deletions
diff --git a/cad/qcad/files/patch-ab b/cad/qcad/files/patch-ab
new file mode 100644
index 0000000..1e2c5d3
--- /dev/null
+++ b/cad/qcad/files/patch-ab
@@ -0,0 +1,11 @@
+--- 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;
+ }
+
OpenPOWER on IntegriCloud