diff options
| author | Pascal Bach <pascal.bach@siemens.com> | 2021-09-20 17:06:55 +0200 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2021-09-24 08:12:35 -0700 |
| commit | 8527bd0ef81b2e4d446afdf7edc86bb4365f54cb (patch) | |
| tree | 7e74dc3b6629228efd3030d2e4468f17eae4b2da | |
| parent | 4de9ab41e312d5debe6c58a9212aafbef30d8081 (diff) | |
| download | meta-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.patch | 47 | ||||
| -rw-r--r-- | meta-oe/recipes-support/poco/poco/0001-fix-missing-expat-definition.patch | 27 | ||||
| -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 @@ | |||
| 1 | From 98d277655e411f56fba705c0bf2efc6562c23807 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Sun, 15 Nov 2020 11:37:33 -0800 | ||
| 4 | Subject: [PATCH] Add support of arch riscv32 | ||
| 5 | |||
| 6 | Upstream-Status: Submitted [https://github.com/pocoproject/poco/pull/3138] | ||
| 7 | Signed-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 | |||
| 12 | diff --git a/Foundation/include/Poco/Platform.h b/Foundation/include/Poco/Platform.h | ||
| 13 | index 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 | -- | ||
| 46 | 2.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 @@ | |||
| 1 | From 3f288fefbd683d687bde3fc63964da64bc3c8a40 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Pascal Bach <pascal.bach@siemens.com> | ||
| 3 | Date: Wed, 11 Aug 2021 15:11:49 +0200 | ||
| 4 | Subject: [PATCH] fix missing expat definition | ||
| 5 | |||
| 6 | Upstream-Status: Submitted [https://github.com/pocoproject/poco/pull/3414] | ||
| 7 | Signed-off-by: Pascal Bach <pascal.bach@siemens.com> | ||
| 8 | --- | ||
| 9 | XML/src/ParserEngine.cpp | 2 +- | ||
| 10 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 11 | |||
| 12 | diff --git a/XML/src/ParserEngine.cpp b/XML/src/ParserEngine.cpp | ||
| 13 | index 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 | -- | ||
| 26 | 2.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" | |||
| 9 | DEPENDS = "libpcre zlib" | 9 | DEPENDS = "libpcre zlib" |
| 10 | 10 | ||
| 11 | SRC_URI = " \ | 11 | SRC_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 | " |
| 16 | SRCREV = "a3d827d80eb7f3329c58e73eb2906cb7ba829019" | 16 | SRCREV = "f81a38057f1d240fe7b7a069612776f788bc88ea" |
| 17 | 17 | ||
| 18 | UPSTREAM_CHECK_GITTAGREGEX = "poco-(?P<pver>\d+(\.\d+)+)" | 18 | UPSTREAM_CHECK_GITTAGREGEX = "poco-(?P<pver>\d+(\.\d+)+)" |
| 19 | 19 | ||
