ports/59810: [patch] math/kseg: fix build on -CURRENT
Markus Brueffer
brueffer at phoenix-systems.de
Sun Nov 30 01:10:23 UTC 2003
>Number: 59810
>Category: ports
>Synopsis: [patch] math/kseg: fix build on -CURRENT
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Sat Nov 29 17:10:16 PST 2003
>Closed-Date:
>Last-Modified:
>Originator: Markus Brueffer
>Release: FreeBSD 5.1-CURRENT i386
>Organization:
>Environment:
System: FreeBSD cheops.phoenix 5.1-CURRENT FreeBSD 5.1-CURRENT #11: Thu Nov 13 12:26:36 CET 2003 brueffer at cheops.phoenix:/usr/obj/usr/src/sys/CHEOPS i386
>Description:
math/kseg: fix build on -CURRENT
Reported by: bento
Maintainer CC'ed
>How-To-Repeat:
>Fix:
--- kseg.diff begins here ---
diff -ruN kseg.orig/files/patch-G_pointLocus.cpp kseg/files/patch-G_pointLocus.cpp
--- kseg.orig/files/patch-G_pointLocus.cpp Thu Jan 1 01:00:00 1970
+++ kseg/files/patch-G_pointLocus.cpp Sat Nov 29 05:17:36 2003
@@ -0,0 +1,11 @@
+--- G_pointLocus.cpp.orig Sat Nov 29 04:52:07 2003
++++ G_pointLocus.cpp Sat Nov 29 04:54:38 2003
+@@ -283,7 +283,7 @@
+ }
+ else discontCount = 0; //number of times the goodness decreased--for finding discontinuities
+
+- if(discontCount > log(maxSamples) / 1.5) {
++ if(discontCount > log((double)maxSamples) / 1.5) {
+ points[0].loc = G_point::inValid();
+ points[points[0].next].loc = G_point::inValid();
+ points[points[0].prev].loc = G_point::inValid();
--- kseg.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list