packages: qucs/qucs-sqrt.patch - modify to 0.0.15
uzsolt
uzsolt at pld-linux.org
Sat Oct 17 16:59:06 CEST 2009
Author: uzsolt Date: Sat Oct 17 14:59:06 2009 GMT
Module: packages Tag: HEAD
---- Log message:
- modify to 0.0.15
---- Files affected:
packages/qucs:
qucs-sqrt.patch (1.1 -> 1.2)
---- Diffs:
================================================================
Index: packages/qucs/qucs-sqrt.patch
diff -u packages/qucs/qucs-sqrt.patch:1.1 packages/qucs/qucs-sqrt.patch:1.2
--- packages/qucs/qucs-sqrt.patch:1.1 Sun Jun 29 20:55:43 2008
+++ packages/qucs/qucs-sqrt.patch Sat Oct 17 16:59:00 2009
@@ -1,11 +1,10 @@
-diff -Nur qucs-0.0.14.ori/qucs-core/src/check_touchstone.cpp qucs-0.0.14/qucs-core/src/check_touchstone.cpp
---- qucs-0.0.14.ori/qucs-core/src/check_touchstone.cpp 2008-01-10 20:00:00.000000000 +0000
-+++ qucs-0.0.14/qucs-core/src/check_touchstone.cpp 2008-06-29 18:42:47.365258650 +0000
+--- qucs-0.0.15/qucs-core/src/check_touchstone.cpp~ 2008-04-23 21:00:45.000000000 +0200
++++ qucs-0.0.15/qucs-core/src/check_touchstone.cpp 2009-10-17 16:22:45.423190968 +0200
@@ -101,7 +101,7 @@
even = 1;
}
/* first line determines the number of expected ports */
-- touchstone_options.ports = (int) sqrt ((size - 1) / 2);
+- touchstone_options.ports = (int) sqrt ((size - 1) / 2.0);
+ touchstone_options.ports = (int) sqrt ((size - 1.0) / 2.0);
/* check first frequency value */
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/qucs/qucs-sqrt.patch?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list