diff options
author | rene <rene@FreeBSD.org> | 2013-09-26 16:51:49 +0800 |
---|---|---|
committer | rene <rene@FreeBSD.org> | 2013-09-26 16:51:49 +0800 |
commit | 911a5fddd390b346dea2548df9df6a906577be90 (patch) | |
tree | 3857e76f5086abc5d6534f44ce9a69a99e08a0a6 /astro | |
parent | 56cddf2b1c685748f5d27012e609d092ce29d3ec (diff) | |
download | freebsd-ports-gnome-911a5fddd390b346dea2548df9df6a906577be90.tar.gz freebsd-ports-gnome-911a5fddd390b346dea2548df9df6a906577be90.tar.zst freebsd-ports-gnome-911a5fddd390b346dea2548df9df6a906577be90.zip |
Partially fix build on CURRENT, linking still fails.
Diffstat (limited to 'astro')
-rw-r--r-- | astro/boinc-setiathome-enhanced/files/patch-client__vector__analyzeFuncs_vector.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/astro/boinc-setiathome-enhanced/files/patch-client__vector__analyzeFuncs_vector.cpp b/astro/boinc-setiathome-enhanced/files/patch-client__vector__analyzeFuncs_vector.cpp index a14286429b41..65a42899d396 100644 --- a/astro/boinc-setiathome-enhanced/files/patch-client__vector__analyzeFuncs_vector.cpp +++ b/astro/boinc-setiathome-enhanced/files/patch-client__vector__analyzeFuncs_vector.cpp @@ -1,8 +1,10 @@ ---- client/vector/analyzeFuncs_vector.cpp.orig 2009-07-14 21:02:10.000000000 +0200 -+++ client/vector/analyzeFuncs_vector.cpp 2013-09-12 17:02:12.000000000 +0200 -@@ -87,12 +87,10 @@ +--- ./client/vector/analyzeFuncs_vector.cpp.orig 2009-07-14 21:02:10.000000000 +0200 ++++ ./client/vector/analyzeFuncs_vector.cpp 2013-09-23 19:16:42.000000000 +0200 +@@ -86,13 +86,12 @@ + #include <sys/sysctl.h> #endif ++using namespace std; -#ifdef HAVE___ISNAN -#define isnotnan(x) (!__isnan(x)) @@ -11,7 +13,7 @@ #define isnotnan(x) (!_isnan(x)) #elif defined(HAVE_ISNAN) -#define isnotnam(x) (!isnan(x)) -+#define isnotnan(x) (!std::isnan(x)) ++#define isnotnan(x) (!isnan(x)) #else #define isnotnan(x) ((x) == (x)) #endif |