summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-oe/recipes-support/poco/poco/0001-Support-of-arch-riscv64-by-Manuel-A.-Fernandez-Monte.patch41
-rw-r--r--meta-oe/recipes-support/poco/poco_1.9.4.bb (renamed from meta-oe/recipes-support/poco/poco_1.9.0.bb)3
2 files changed, 1 insertions, 43 deletions
diff --git a/meta-oe/recipes-support/poco/poco/0001-Support-of-arch-riscv64-by-Manuel-A.-Fernandez-Monte.patch b/meta-oe/recipes-support/poco/poco/0001-Support-of-arch-riscv64-by-Manuel-A.-Fernandez-Monte.patch
deleted file mode 100644
index 72d89d09b2..0000000000
--- a/meta-oe/recipes-support/poco/poco/0001-Support-of-arch-riscv64-by-Manuel-A.-Fernandez-Monte.patch
+++ /dev/null
@@ -1,41 +0,0 @@
1From ed04c97abe015a226269de391e36c4d251292725 Mon Sep 17 00:00:00 2001
2From: Francis ANDRE <francis.andre.kampbell@orange.fr>
3Date: Sun, 6 May 2018 12:28:25 +0200
4Subject: [PATCH] Support of arch riscv64 by Manuel A. Fernandez Montecelo
5 <mafm@debian.org>
6
7---
8 Foundation/include/Poco/Platform.h | 6 +++++-
9 Foundation/src/utils.h | 1 +
10 2 files changed, 6 insertions(+), 1 deletion(-)
11
12--- a/Foundation/include/Poco/Platform.h
13+++ b/Foundation/include/Poco/Platform.h
14@@ -134,6 +134,7 @@
15 #define POCO_ARCH_NIOS2 0x0e
16 #define POCO_ARCH_AARCH64 0x0f
17 #define POCO_ARCH_ARM64 0x0f // same as POCO_ARCH_AARCH64
18+#define POCO_ARCH_RISCV64 0x10
19
20
21 #if defined(__ALPHA) || defined(__alpha) || defined(__alpha__) || defined(_M_ALPHA)
22@@ -224,6 +225,9 @@
23 #elif defined(__AARCH64EB__)
24 #define POCO_ARCH POCO_ARCH_AARCH64
25 #define POCO_ARCH_BIG_ENDIAN 1
26+#elif defined(__riscv) && (__riscv_xlen == 64)
27+ #define POCO_ARCH POCO_ARCH_RISCV64
28+ #define POCO_ARCH_LITTLE_ENDIAN 1
29 #endif
30
31
32--- a/Foundation/src/utils.h
33+++ b/Foundation/src/utils.h
34@@ -63,6 +63,7 @@
35 defined(__SH4__) || defined(__alpha__) || \
36 defined(_MIPS_ARCH_MIPS32R2) || \
37 defined(__AARCH64EL__) || \
38+ defined(__riscv) || \
39 defined(nios2) || defined(__nios2) || defined(__nios2__)
40 #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1
41 #elif defined(_M_IX86) || defined(__i386__) || defined(__i386)
diff --git a/meta-oe/recipes-support/poco/poco_1.9.0.bb b/meta-oe/recipes-support/poco/poco_1.9.4.bb
index 70b251034b..212abe29bb 100644
--- a/meta-oe/recipes-support/poco/poco_1.9.0.bb
+++ b/meta-oe/recipes-support/poco/poco_1.9.4.bb
@@ -11,10 +11,9 @@ DEPENDS = "libpcre zlib"
11SRC_URI = " \ 11SRC_URI = " \
12 git://github.com/pocoproject/poco.git;branch=poco-${PV} \ 12 git://github.com/pocoproject/poco.git;branch=poco-${PV} \
13 file://0001-Don-t-try-to-install-non-existing-Encodings-testsuit.patch \ 13 file://0001-Don-t-try-to-install-non-existing-Encodings-testsuit.patch \
14 file://0001-Support-of-arch-riscv64-by-Manuel-A.-Fernandez-Monte.patch \
15 file://run-ptest \ 14 file://run-ptest \
16 " 15 "
17SRCREV = "daf00da73ab917e4d4581e3aa00c0ee61e0cc58b" 16SRCREV = "b95393dcc3640807838e8323b4e600e54d2e8116"
18 17
19S = "${WORKDIR}/git" 18S = "${WORKDIR}/git"
20 19