diff options
author | Bernd Kuhls <bernd.kuhls@t-online.de> | 2017-07-30 18:05:08 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-07-31 20:54:46 +0200 |
commit | b56083099f113817edc6811e2cdd820df1c80450 (patch) | |
tree | 724bf9e5093eebc1f40a3743ca94bb63c791088b /package/linknx/0001-src-suncalc.cpp-fix-build-with-gcc-6.x.patch | |
parent | 61830bb0d4b10821e59fb4ea93f55a98280d3f82 (diff) | |
download | buildroot-b56083099f113817edc6811e2cdd820df1c80450.tar.gz buildroot-b56083099f113817edc6811e2cdd820df1c80450.zip |
package/linknx: bump version to 0.0.1.33
Switch _SITE to github:
https://github.com/linknx/linknx/commit/80264a26318820e5864196aefe3af093071b90b8
Mysql support was fixed with
https://github.com/linknx/linknx/commit/83d1d88dc4cec422e13e0c2baa34a828a3f67270
there 0001-fix-static-build-with-mysql.patch can be removed.
Build-tested using this defconfig
http://autobuild.buildroot.net/results/2df/2dfcbd30079d13997de37e2d1c4643653e200be6
mentioned in
https://git.buildroot.net/buildroot/commit/package/linknx?id=f35f54585f9e63400bdbd9c9ba2b9fd67be538ea
After removing the mysql patch autoreconf is not needed anymore,
therefore we can remove the libcurl dependency which was only added to
fix autoreconf:
https://git.buildroot.net/buildroot/commit/package/linknx?id=e1c9a2349006e657e76dff35706a774376921fb7
LINKNX_CREATE_MISSING_FILES is also not needed anymore after commit
https://github.com/linknx/linknx/commit/ef04c6d12846800fa1554d2fe31813dd09c5f29b
Renumbered remaining patch.
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/linknx/0001-src-suncalc.cpp-fix-build-with-gcc-6.x.patch')
-rw-r--r-- | package/linknx/0001-src-suncalc.cpp-fix-build-with-gcc-6.x.patch | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/package/linknx/0001-src-suncalc.cpp-fix-build-with-gcc-6.x.patch b/package/linknx/0001-src-suncalc.cpp-fix-build-with-gcc-6.x.patch new file mode 100644 index 0000000000..d204a02269 --- /dev/null +++ b/package/linknx/0001-src-suncalc.cpp-fix-build-with-gcc-6.x.patch @@ -0,0 +1,42 @@ +From ff52cf04c6fa8b3352544447abf429bfa6000dc8 Mon Sep 17 00:00:00 2001 +From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> +Date: Sat, 20 Aug 2016 12:13:04 +0200 +Subject: [PATCH] src/suncalc.cpp: fix build with gcc 6.x + +src/suncalc.cpp currently includes <math.h>, but this causes a build +failure with gcc 6.x, and <cmath> should be used instead. The build +failure is: + +/home/test/autobuild/run/instance-0/output/host/usr/arc-buildroot-linux-uclibc/include/c++/6.1.1/cmath:101:37: error: '__is_integer' was not declared in this scope + typename __gnu_cxx::__enable_if<__is_integer<_Tp>::__value, + ^~~~~~~~~~~~ + +Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> +--- + src/suncalc.cpp | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/src/suncalc.cpp b/src/suncalc.cpp +index ea2366a..b553f96 100644 +--- a/src/suncalc.cpp ++++ b/src/suncalc.cpp +@@ -22,6 +22,8 @@ + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + ++#include <cmath> ++ + #include "suncalc.h" + #include "services.h" + +@@ -44,7 +46,6 @@ Released to the public domain by Paul Schlyter, December 1992 + + + #include <stdio.h> +-#include <math.h> + #include <time.h> + #include <stdlib.h> + #include <getopt.h> +-- +2.7.4 + |