summaryrefslogtreecommitdiff
path: root/cad/qcad
diff options
context:
space:
mode:
authorMichael Reifenberger <mr@FreeBSD.org>2004-09-12 08:53:13 +0000
committerMichael Reifenberger <mr@FreeBSD.org>2004-09-12 08:53:13 +0000
commitdb696d347a1a2a0dc2ed836df0d1fb9d06b9a70b (patch)
tree94bcba0e08becf02a23aeecc70ba2f98c76f793e /cad/qcad
parentChase print/latex-ucs moving to texmf-local. (diff)
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
Notes
Notes: svn path=/head/; revision=118149
Diffstat (limited to 'cad/qcad')
-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 000000000000..1e2c5d362411
--- /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;
+ }
+