aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormr <mr@FreeBSD.org>2004-09-12 16:53:13 +0800
committermr <mr@FreeBSD.org>2004-09-12 16:53:13 +0800
commitddae9e9aa2cbbfac2ed71d42a4cab71a08dee875 (patch)
tree4deca682a6d609a425d089b800d2c2a9a1c9232a
parent328f0e88520838751e714cca2e1d2960ceb4284d (diff)
downloadfreebsd-ports-gnome-ddae9e9aa2cbbfac2ed71d42a4cab71a08dee875.tar.gz
freebsd-ports-gnome-ddae9e9aa2cbbfac2ed71d42a4cab71a08dee875.tar.zst
freebsd-ports-gnome-ddae9e9aa2cbbfac2ed71d42a4cab71a08dee875.zip
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
-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;
+ }
+