diff options
| -rw-r--r-- | meta-oe/recipes-support/poco/poco/0001-Fix-data-race-when-create-POSIX-thread.patch | 33 | ||||
| -rw-r--r-- | meta-oe/recipes-support/poco/poco/0001-cppignore.lnx-Ignore-PKCS12-and-testLaunch-test.patch | 35 | ||||
| -rw-r--r-- | meta-oe/recipes-support/poco/poco/0002-fix-build-Install-cmake-files-with-resolved-ENABLE_J.patch | 32 | ||||
| -rw-r--r-- | meta-oe/recipes-support/poco/poco_1.12.5p2.bb (renamed from meta-oe/recipes-support/poco/poco_1.12.4.bb) | 4 |
4 files changed, 53 insertions, 51 deletions
diff --git a/meta-oe/recipes-support/poco/poco/0001-Fix-data-race-when-create-POSIX-thread.patch b/meta-oe/recipes-support/poco/poco/0001-Fix-data-race-when-create-POSIX-thread.patch deleted file mode 100644 index 1a7f4dcdca..0000000000 --- a/meta-oe/recipes-support/poco/poco/0001-Fix-data-race-when-create-POSIX-thread.patch +++ /dev/null | |||
| @@ -1,33 +0,0 @@ | |||
| 1 | From 03b68fc924b24e12c87512d790d37fc6ddc352ac Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Dawid Drozd <drozddawid@gmail.com> | ||
| 3 | Date: Sat, 11 Feb 2023 14:48:39 +0400 | ||
| 4 | Subject: [PATCH] Fix data race when create POSIX thread | ||
| 5 | |||
| 6 | When creating thread using pthread_create() `_pData->thread` will be set. | ||
| 7 | It could lead to data race as in runnableEntry() we refer to that variable. | ||
| 8 | |||
| 9 | Instead use pthread_self(). | ||
| 10 | getName() is already under mutex. | ||
| 11 | |||
| 12 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 13 | Upstream-Status: Backport [https://github.com/pocoproject/poco/pull/3942/commits/9c8a79b994a367f626c5551e0f38c27d0d8431f1] | ||
| 14 | --- | ||
| 15 | Foundation/src/Thread_POSIX.cpp | 2 +- | ||
| 16 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 17 | |||
| 18 | diff --git a/Foundation/src/Thread_POSIX.cpp b/Foundation/src/Thread_POSIX.cpp | ||
| 19 | index ceab76e82..3e52cd31f 100644 | ||
| 20 | --- a/Foundation/src/Thread_POSIX.cpp | ||
| 21 | +++ b/Foundation/src/Thread_POSIX.cpp | ||
| 22 | @@ -351,7 +351,7 @@ void* ThreadImpl::runnableEntry(void* pThread) | ||
| 23 | #endif | ||
| 24 | |||
| 25 | ThreadImpl* pThreadImpl = reinterpret_cast<ThreadImpl*>(pThread); | ||
| 26 | - setThreadName(pThreadImpl->_pData->thread, reinterpret_cast<Thread*>(pThread)->getName()); | ||
| 27 | + setThreadName(pthread_self(), reinterpret_cast<Thread*>(pThread)->getName()); | ||
| 28 | AutoPtr<ThreadData> pData = pThreadImpl->_pData; | ||
| 29 | try | ||
| 30 | { | ||
| 31 | -- | ||
| 32 | 2.42.0 | ||
| 33 | |||
diff --git a/meta-oe/recipes-support/poco/poco/0001-cppignore.lnx-Ignore-PKCS12-and-testLaunch-test.patch b/meta-oe/recipes-support/poco/poco/0001-cppignore.lnx-Ignore-PKCS12-and-testLaunch-test.patch index 25934d61b3..f70e8bcc74 100644 --- a/meta-oe/recipes-support/poco/poco/0001-cppignore.lnx-Ignore-PKCS12-and-testLaunch-test.patch +++ b/meta-oe/recipes-support/poco/poco/0001-cppignore.lnx-Ignore-PKCS12-and-testLaunch-test.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From ac0f06e20bdfaca74c8ab786be8ff8fc96b5a689 Mon Sep 17 00:00:00 2001 | 1 | From 879ddb725823c78c9510cfd39786adb16f3726c8 Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Sat, 16 Sep 2023 19:52:56 -0700 | 3 | Date: Sat, 16 Sep 2023 19:52:56 -0700 |
| 4 | Subject: [PATCH] cppignore.lnx: Ignore PKCS12 and testLaunch test | 4 | Subject: [PATCH] cppignore.lnx: Ignore PKCS12 and testLaunch test |
| @@ -42,22 +42,25 @@ There were 4 failures: | |||
| 42 | 42 | ||
| 43 | Upstream-Status: Inappropriate [OE specific] | 43 | Upstream-Status: Inappropriate [OE specific] |
| 44 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 44 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 45 | Signed-off-by: Patrick Wicki <patrick.wicki@siemens.com> | ||
| 45 | --- | 46 | --- |
| 46 | cppignore.lnx | 8 ++++++++ | 47 | cppignore.lnx | 9 +++++++++ |
| 47 | 1 file changed, 8 insertions(+) | 48 | 1 file changed, 9 insertions(+) |
| 48 | 49 | ||
| 50 | diff --git a/cppignore.lnx b/cppignore.lnx | ||
| 51 | index 2c2376526..65df4af08 100644 | ||
| 49 | --- a/cppignore.lnx | 52 | --- a/cppignore.lnx |
| 50 | +++ b/cppignore.lnx | 53 | +++ b/cppignore.lnx |
| 51 | @@ -26,3 +26,12 @@ N7CppUnit10TestCallerI9TimerTestEE.testS | 54 | @@ -28,3 +28,12 @@ CppUnit::TestCaller<HTTPSClientSessionTest>.testProxy |
| 52 | N7CppUnit10TestCallerI9TimerTestEE.testScheduleIntervalClock | 55 | CppUnit::TestCaller<HTTPSStreamFactoryTest>.testProxy |
| 53 | N7CppUnit10TestCallerI9TimerTestEE.testScheduleIntervalTimestamp | 56 | CppUnit::TestCaller<DNSTest>.testHostByAddress |
| 54 | N7CppUnit10TestCallerI9TimerTestEE.testTimer | 57 | CppUnit::TestCaller<DNSTest>.testHostByName |
| 55 | +N7CppUnit10TestCallerI11ProcessTestEE.testLaunch | 58 | +CppUnit::TestCaller<ProcessTest>.testLaunch |
| 56 | +N7CppUnit10TestCallerI11ProcessTestEE.testLaunchRedirectIn | 59 | +CppUnit::TestCaller<ProcessTest>.testLaunchRedirectIn |
| 57 | +N7CppUnit10TestCallerI11ProcessTestEE.testLaunchRedirectOut | 60 | +CppUnit::TestCaller<ProcessTest>.testLaunchRedirectOut |
| 58 | +N7CppUnit10TestCallerI11ProcessTestEE.testLaunchEnv | 61 | +CppUnit::TestCaller<ProcessTest>.testLaunchEnv |
| 59 | +N7CppUnit10TestCallerI7EVPTestEE.testRSAEVPKeyFromPKCS12 | 62 | +CppUnit::TestCaller<EVPTest>.testRSAEVPKeyFromPKCS12 |
| 60 | +N7CppUnit10TestCallerI19PKCS12ContainerTestEE.testFullPKCS12 | 63 | +CppUnit::TestCaller<PKCS12ContainerTest>.testFullPKCS12 |
| 61 | +N7CppUnit10TestCallerI19PKCS12ContainerTestEE.testCertsOnlyPKCS12 | 64 | +CppUnit::TestCaller<PKCS12ContainerTest>.testCertsOnlyPKCS12 |
| 62 | +N7CppUnit10TestCallerI19PKCS12ContainerTestEE.testPEMReadWrite | 65 | +CppUnit::TestCaller<PKCS12ContainerTest>.testPEMReadWrite |
| 63 | +N7CppUnit10TestCallerI11MongoDBTestEE.testArray | 66 | +CppUnit::TestCaller<MongoDBTest>.testArray |
diff --git a/meta-oe/recipes-support/poco/poco/0002-fix-build-Install-cmake-files-with-resolved-ENABLE_J.patch b/meta-oe/recipes-support/poco/poco/0002-fix-build-Install-cmake-files-with-resolved-ENABLE_J.patch new file mode 100644 index 0000000000..427cb9723a --- /dev/null +++ b/meta-oe/recipes-support/poco/poco/0002-fix-build-Install-cmake-files-with-resolved-ENABLE_J.patch | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | From e54478c936493c0ed87e875f04127bd13642de44 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: tyler92 <tyler92@inbox.ru> | ||
| 3 | Date: Tue, 21 Nov 2023 05:07:24 +0300 | ||
| 4 | Subject: [PATCH] fix(build): Install cmake files with resolved ENABLE_JSON and | ||
| 5 | ENABLE_XML (#4227) | ||
| 6 | |||
| 7 | Upstream-Status: Backport [https://github.com/pocoproject/poco/pull/4227] | ||
| 8 | Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com> | ||
| 9 | |||
| 10 | --- | ||
| 11 | Util/cmake/PocoUtilConfig.cmake | 4 ++-- | ||
| 12 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
| 13 | |||
| 14 | diff --git a/Util/cmake/PocoUtilConfig.cmake b/Util/cmake/PocoUtilConfig.cmake | ||
| 15 | index 90c1eab1c..8186435e1 100644 | ||
| 16 | --- a/Util/cmake/PocoUtilConfig.cmake | ||
| 17 | +++ b/Util/cmake/PocoUtilConfig.cmake | ||
| 18 | @@ -1,9 +1,9 @@ | ||
| 19 | include(CMakeFindDependencyMacro) | ||
| 20 | find_dependency(PocoFoundation) | ||
| 21 | -if(ENABLE_XML) | ||
| 22 | +if(@ENABLE_XML@) | ||
| 23 | find_dependency(PocoXML) | ||
| 24 | endif() | ||
| 25 | -if(ENABLE_JSON) | ||
| 26 | +if(@ENABLE_JSON@) | ||
| 27 | find_dependency(PocoJSON) | ||
| 28 | endif() | ||
| 29 | include("${CMAKE_CURRENT_LIST_DIR}/PocoUtilTargets.cmake") | ||
| 30 | -- | ||
| 31 | 2.43.0 | ||
| 32 | |||
diff --git a/meta-oe/recipes-support/poco/poco_1.12.4.bb b/meta-oe/recipes-support/poco/poco_1.12.5p2.bb index 12532e4ef1..a0bb0b5d96 100644 --- a/meta-oe/recipes-support/poco/poco_1.12.4.bb +++ b/meta-oe/recipes-support/poco/poco_1.12.5p2.bb | |||
| @@ -11,10 +11,10 @@ DEPENDS = "libpcre2 zlib" | |||
| 11 | SRC_URI = "git://github.com/pocoproject/poco.git;branch=master;protocol=https \ | 11 | SRC_URI = "git://github.com/pocoproject/poco.git;branch=master;protocol=https \ |
| 12 | file://0001-Use-std-atomic-int-instead-of-std-atomic-bool.patch \ | 12 | file://0001-Use-std-atomic-int-instead-of-std-atomic-bool.patch \ |
| 13 | file://0001-cppignore.lnx-Ignore-PKCS12-and-testLaunch-test.patch \ | 13 | file://0001-cppignore.lnx-Ignore-PKCS12-and-testLaunch-test.patch \ |
| 14 | file://0001-Fix-data-race-when-create-POSIX-thread.patch \ | ||
| 15 | file://run-ptest \ | 14 | file://run-ptest \ |
| 15 | file://0002-fix-build-Install-cmake-files-with-resolved-ENABLE_J.patch \ | ||
| 16 | " | 16 | " |
| 17 | SRCREV = "1211613642269b7d53bea58b02de7fcd25ece3b9" | 17 | SRCREV = "1d6fb3e1383e559cacbada5e3f861c0dafaf5d30" |
| 18 | 18 | ||
| 19 | UPSTREAM_CHECK_GITTAGREGEX = "poco-(?P<pver>\d+(\.\d+)+)" | 19 | UPSTREAM_CHECK_GITTAGREGEX = "poco-(?P<pver>\d+(\.\d+)+)" |
| 20 | 20 | ||
