summaryrefslogtreecommitdiff
path: root/astro/boinc-setiathome-enhanced/files/patch-client__worker.cpp
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2013-09-18 13:48:19 +0000
committerRene Ladan <rene@FreeBSD.org>2013-09-18 13:48:19 +0000
commit7f6ba9d599f3b8b6db072b454af13d28028ca954 (patch)
tree27d19c6c9f73fd5ceb3e321a8c61d305d005893d /astro/boinc-setiathome-enhanced/files/patch-client__worker.cpp
parentFix up plist. (diff)
net/boinc-client :
- update to 7.0.65 [1] Unlike the PR, keep the SKINS option and the extra skins, and do not pregenerate autotools files. - work around a build conflict with archivers/libzip in port Makefile [2] - pre-emptively fix build with libc++ - change MASTERSITE from Pav's to my site - comment out the BROKEN message for sparc64/ia64/powerpc (for now) - regenerate patches using 'make makepatch' astro/boinc-{setiathome-enhanced,astropulse} : - remove obsolete calls to functions removed from libboinc to prevent breakage PR: ports/176724 [1] Submitted by: Andrey Simonenko <simon@comsys.ntu-kpi.kiev.ua> [1] Submitted by: zi@ [2]
Diffstat (limited to 'astro/boinc-setiathome-enhanced/files/patch-client__worker.cpp')
-rw-r--r--astro/boinc-setiathome-enhanced/files/patch-client__worker.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/astro/boinc-setiathome-enhanced/files/patch-client__worker.cpp b/astro/boinc-setiathome-enhanced/files/patch-client__worker.cpp
new file mode 100644
index 000000000000..1770a75ca4bc
--- /dev/null
+++ b/astro/boinc-setiathome-enhanced/files/patch-client__worker.cpp
@@ -0,0 +1,18 @@
+--- client/worker.cpp.orig 2008-07-31 02:02:10.000000000 +0200
++++ client/worker.cpp 2013-08-06 18:48:48.000000000 +0200
+@@ -153,7 +153,6 @@
+ retval = seti_do_work();
+ if (retval) SETIERROR(retval,"from seti_do_work() in worker()");
+
+- boinc_fpops_cumulative((SETUP_FLOPS+analysis_state.FLOP_counter)*LOAD_STORE_ADJUSTMENT);
+ boinc_finish(retval);
+ }
+ catch (seti_error e) {
+@@ -165,7 +164,6 @@
+ remaining=0;
+ boinc_fraction_done(progress);
+ checkpoint(true); // force a checkpoint
+- boinc_fpops_cumulative((SETUP_FLOPS+analysis_state.FLOP_counter)*LOAD_STORE_ADJUSTMENT);
+ boinc_finish(0);
+ exit(0); // an overflow is not an app error
+ } else {