diff options
Diffstat (limited to 'net/linknx/files/patch-src_suncalc.cpp')
-rw-r--r-- | net/linknx/files/patch-src_suncalc.cpp | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/net/linknx/files/patch-src_suncalc.cpp b/net/linknx/files/patch-src_suncalc.cpp deleted file mode 100644 index 5c7a8fa3c1cf..000000000000 --- a/net/linknx/files/patch-src_suncalc.cpp +++ /dev/null @@ -1,27 +0,0 @@ -In file included from suncalc.cpp:47: - /usr/include/c++/v1/math.h:733:39: error: no member named 'fabsf' in the global - namespace; did you mean simply 'fabsf'? - abs(float __lcpp_x) _NOEXCEPT {return ::fabsf(__lcpp_x);} - ^~ - ---- src/suncalc.cpp.orig 2018-08-25 18:51:49 UTC -+++ src/suncalc.cpp -@@ -25,8 +25,6 @@ - #include "suncalc.h" - #include "services.h" - --namespace suncalc --{ - - /* - SUNRISET.C - computes Sun rise/set times, start/end of twilight, and -@@ -49,6 +47,9 @@ Released to the public domain by Paul Schlyter, Decemb - #include <stdlib.h> - #include <getopt.h> - #include <string.h> -+ -+namespace suncalc -+{ - - /* A macro to compute the number of days elapsed since 2000 Jan 0.0 */ - /* (which is equal to 1999 Dec 31, 0h UT) */ |