summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Bach <pascal.bach@siemens.com>2021-09-20 17:06:55 +0200
committerKhem Raj <raj.khem@gmail.com>2021-09-24 08:12:35 -0700
commit8527bd0ef81b2e4d446afdf7edc86bb4365f54cb (patch)
tree7e74dc3b6629228efd3030d2e4468f17eae4b2da
parent4de9ab41e312d5debe6c58a9212aafbef30d8081 (diff)
downloadmeta-openembedded-8527bd0ef81b2e4d446afdf7edc86bb4365f54cb.tar.gz
poco: update to 1.11.0
Signed-off-by: Pascal Bach <pascal.bach@siemens.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-support/poco/poco/0001-Add-support-of-arch-riscv32.patch47
-rw-r--r--meta-oe/recipes-support/poco/poco/0001-fix-missing-expat-definition.patch27
-rw-r--r--meta-oe/recipes-support/poco/poco_1.11.0.bb (renamed from meta-oe/recipes-support/poco/poco_1.10.1.bb)6
3 files changed, 30 insertions, 50 deletions
diff --git a/meta-oe/recipes-support/poco/poco/0001-Add-support-of-arch-riscv32.patch b/meta-oe/recipes-support/poco/poco/0001-Add-support-of-arch-riscv32.patch
deleted file mode 100644
index e6b673b11d..0000000000
--- a/meta-oe/recipes-support/poco/poco/0001-Add-support-of-arch-riscv32.patch
+++ /dev/null
@@ -1,47 +0,0 @@
1From 98d277655e411f56fba705c0bf2efc6562c23807 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sun, 15 Nov 2020 11:37:33 -0800
4Subject: [PATCH] Add support of arch riscv32
5
6Upstream-Status: Submitted [https://github.com/pocoproject/poco/pull/3138]
7Signed-off-by: Khem Raj <raj.khem@gmail.com>
8---
9 Foundation/include/Poco/Platform.h | 13 +++++++++----
10 1 file changed, 9 insertions(+), 4 deletions(-)
11
12diff --git a/Foundation/include/Poco/Platform.h b/Foundation/include/Poco/Platform.h
13index 799db417e..b8506a248 100644
14--- a/Foundation/include/Poco/Platform.h
15+++ b/Foundation/include/Poco/Platform.h
16@@ -135,6 +135,7 @@
17 #define POCO_ARCH_AARCH64 0x0f
18 #define POCO_ARCH_ARM64 0x0f // same as POCO_ARCH_AARCH64
19 #define POCO_ARCH_RISCV64 0x10
20+#define POCO_ARCH_RISCV32 0x11
21
22
23 #if defined(__ALPHA) || defined(__alpha) || defined(__alpha__) || defined(_M_ALPHA)
24@@ -225,12 +226,16 @@
25 #elif defined(__AARCH64EB__)
26 #define POCO_ARCH POCO_ARCH_AARCH64
27 #define POCO_ARCH_BIG_ENDIAN 1
28-#elif defined(__riscv) && (__riscv_xlen == 64)
29- #define POCO_ARCH POCO_ARCH_RISCV64
30- #define POCO_ARCH_LITTLE_ENDIAN 1
31+#elif defined(__riscv)
32+ #if (__riscv_xlen == 64)
33+ #define POCO_ARCH POCO_ARCH_RISCV64
34+ #define POCO_ARCH_LITTLE_ENDIAN 1
35+ #elif(__riscv_xlen == 32)
36+ #define POCO_ARCH POCO_ARCH_RISCV32
37+ #define POCO_ARCH_LITTLE_ENDIAN 1
38+ #endif
39 #endif
40
41-
42 #if defined(__clang__)
43 #define POCO_COMPILER_CLANG
44 #elif defined(_MSC_VER)
45--
462.29.2
47
diff --git a/meta-oe/recipes-support/poco/poco/0001-fix-missing-expat-definition.patch b/meta-oe/recipes-support/poco/poco/0001-fix-missing-expat-definition.patch
new file mode 100644
index 0000000000..625aa31911
--- /dev/null
+++ b/meta-oe/recipes-support/poco/poco/0001-fix-missing-expat-definition.patch
@@ -0,0 +1,27 @@
1From 3f288fefbd683d687bde3fc63964da64bc3c8a40 Mon Sep 17 00:00:00 2001
2From: Pascal Bach <pascal.bach@siemens.com>
3Date: Wed, 11 Aug 2021 15:11:49 +0200
4Subject: [PATCH] fix missing expat definition
5
6Upstream-Status: Submitted [https://github.com/pocoproject/poco/pull/3414]
7Signed-off-by: Pascal Bach <pascal.bach@siemens.com>
8---
9 XML/src/ParserEngine.cpp | 2 +-
10 1 file changed, 1 insertion(+), 1 deletion(-)
11
12diff --git a/XML/src/ParserEngine.cpp b/XML/src/ParserEngine.cpp
13index 82d477478..6213e555b 100644
14--- a/XML/src/ParserEngine.cpp
15+++ b/XML/src/ParserEngine.cpp
16@@ -504,7 +504,7 @@ void ParserEngine::init()
17 XML_SetParamEntityParsing(_parser, _externalParameterEntities ? XML_PARAM_ENTITY_PARSING_ALWAYS : XML_PARAM_ENTITY_PARSING_NEVER);
18 XML_SetUnknownEncodingHandler(_parser, handleUnknownEncoding, this);
19
20-#if XML_MAJOR_VERSION > 2 || (XML_MAJOR_VERSION == 2 && XML_MINOR_VERSION >= 4)
21+#if XML_DTD && (XML_MAJOR_VERSION > 2 || (XML_MAJOR_VERSION == 2 && XML_MINOR_VERSION >= 4))
22 if (_maximumAmplificationFactor > 1.0)
23 {
24 XML_SetBillionLaughsAttackProtectionMaximumAmplification(_parser, _maximumAmplificationFactor);
25--
262.32.0
27
diff --git a/meta-oe/recipes-support/poco/poco_1.10.1.bb b/meta-oe/recipes-support/poco/poco_1.11.0.bb
index 5db518cbba..5f63910983 100644
--- a/meta-oe/recipes-support/poco/poco_1.10.1.bb
+++ b/meta-oe/recipes-support/poco/poco_1.11.0.bb
@@ -9,11 +9,11 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=4267f48fc738f50380cbeeb76f95cebc"
9DEPENDS = "libpcre zlib" 9DEPENDS = "libpcre zlib"
10 10
11SRC_URI = " \ 11SRC_URI = " \
12 git://github.com/pocoproject/poco.git;branch=poco-${PV} \ 12 git://github.com/pocoproject/poco.git;branch=master \
13 file://0001-Add-support-of-arch-riscv32.patch \ 13 file://0001-fix-missing-expat-definition.patch \
14 file://run-ptest \ 14 file://run-ptest \
15 " 15 "
16SRCREV = "a3d827d80eb7f3329c58e73eb2906cb7ba829019" 16SRCREV = "f81a38057f1d240fe7b7a069612776f788bc88ea"
17 17
18UPSTREAM_CHECK_GITTAGREGEX = "poco-(?P<pver>\d+(\.\d+)+)" 18UPSTREAM_CHECK_GITTAGREGEX = "poco-(?P<pver>\d+(\.\d+)+)"
19 19