[SCM] SETI at home packaging branch, master, updated. debian/6.12_svn1305-2-22-ga07f22f
Guo Yixuan
culu.gyx at gmail.com
Mon Jun 4 09:43:41 UTC 2012
The following commit has been merged in the master branch:
commit a07f22f4395057aab97c45d0c3f65022410182ea
Author: Guo Yixuan <culu.gyx at gmail.com>
Date: Mon Jun 4 17:27:29 2012 +0800
Update freebsd patch, floor -> std::floor
diff --git a/debian/patches/101_freebsd_build.patch b/debian/patches/101_freebsd_build.patch
index fcbe8ab..d612b81 100644
--- a/debian/patches/101_freebsd_build.patch
+++ b/debian/patches/101_freebsd_build.patch
@@ -1,5 +1,7 @@
---- a/client/vector/analyzeFuncs_sse.cpp
-+++ b/client/vector/analyzeFuncs_sse.cpp
+Index: boinc-app-seti/client/vector/analyzeFuncs_sse.cpp
+===================================================================
+--- boinc-app-seti.orig/client/vector/analyzeFuncs_sse.cpp 2012-06-04 16:36:59.000000000 +0800
++++ boinc-app-seti/client/vector/analyzeFuncs_sse.cpp 2012-06-04 17:25:56.000000000 +0800
@@ -32,6 +32,7 @@
// This file is empty is __i386__ is not defined
#include "sah_config.h"
@@ -8,3 +10,26 @@
#if defined(__i386__) || defined(__x86_64__)
+@@ -779,14 +780,14 @@
+ v_angle2[2] = angles[6] - ((angles[6] + roundVal) - roundVal);
+ v_angle2[3] = angles[7] - ((angles[7] + roundVal) - roundVal);
+ #else
+- v_angle[0] = angles[0] - floor(angles[0] + signedHalf);
+- v_angle[1] = angles[1] - floor(angles[1] + signedHalf);
+- v_angle[2] = angles[2] - floor(angles[2] + signedHalf);
+- v_angle[3] = angles[3] - floor(angles[3] + signedHalf);
+- v_angle2[0] = angles[4] - floor(angles[4] + signedHalf);
+- v_angle2[1] = angles[5] - floor(angles[5] + signedHalf);
+- v_angle2[2] = angles[6] - floor(angles[6] + signedHalf);
+- v_angle2[3] = angles[7] - floor(angles[7] + signedHalf);
++ v_angle[0] = angles[0] - std::floor(angles[0] + signedHalf);
++ v_angle[1] = angles[1] - std::floor(angles[1] + signedHalf);
++ v_angle[2] = angles[2] - std::floor(angles[2] + signedHalf);
++ v_angle[3] = angles[3] - std::floor(angles[3] + signedHalf);
++ v_angle2[0] = angles[4] - std::floor(angles[4] + signedHalf);
++ v_angle2[1] = angles[5] - std::floor(angles[5] + signedHalf);
++ v_angle2[2] = angles[6] - std::floor(angles[6] + signedHalf);
++ v_angle2[3] = angles[7] - std::floor(angles[7] + signedHalf);
+ #endif
+
+ x = _mm_load_ps( v_angle );
--
SETI at home packaging
More information about the pkg-boinc-commits
mailing list