kumquat-buildroot/package/poco/0002-Add-support-for-m68000-1856.patch
Julien Olivain 65e9c52bbe package/poco: bump to version 1.10.1
Poco >= 1.10.0 requires a C++14 compiler. GCC needs to be at least 5.0.
https://github.com/pocoproject/poco/blob/poco-1.10.1-release/CHANGELOG#L31

Since GCC 5.0 does not enable it by default, "-std=c++14" needs to be
added in cflags.

See poco 1.10.1 changelog:
https://github.com/pocoproject/poco/blob/poco-1.10.1-release/CHANGELOG

Poco 1.10.0 introduced a new JWT (JSON Web Tokens) component. It is
currently unconditionally disabled to prevent build failure (as it
re-enable Poco Crypto, which needs OpenSSL).

Package patches are rebased on poco version 1.10.1.

Signed-off-by: Julien Olivain <juju@cotds.org>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2020-06-30 22:11:11 +02:00

33 lines
1.1 KiB
Diff

From 221e308ad452035f4c1dc25e194f817a30f38f7b Mon Sep 17 00:00:00 2001
From: Jochen Sprickerhof <github@jochen.sprickerhof.de>
Date: Wed, 23 Aug 2017 16:50:51 +0200
Subject: [PATCH] Add support for m68000 (#1856)
Originally taken from
https://github.com/google/double-conversion/commit/da11179623145f53b204105a93b8bbca431141da
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
[Julien: rebased on version 1.10.1]
Signed-off-by: Julien Olivain <juju@cotds.org>
---
Foundation/src/utils.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Foundation/src/utils.h b/Foundation/src/utils.h
index c87cee13c..e891c0f10 100644
--- a/Foundation/src/utils.h
+++ b/Foundation/src/utils.h
@@ -66,6 +66,8 @@
defined(__AARCH64EL__) || \
defined(nios2) || defined(__nios2) || defined(__nios2__)
#define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1
+#elif defined(__mc68000__)
+#undef DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS
#elif defined(_M_IX86) || defined(__i386__) || defined(__i386)
#if defined(_WIN32)
// Windows uses a 64bit wide floating point stack.
--
2.26.2