diff options
| author | CoprDistGit <infra@openeuler.org> | 2026-08-13 03:15:17 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2026-08-13 03:15:17 +0000 |
| commit | e1f205daf9fc6805fbdbfb0778c1bb2342ad14e9 (patch) | |
| tree | 3fbf04b3ed4bb1d6bfdfeb8652a8b514cb7ec484 /0001-Fix-XML-compilation-due-to-new-methods-being-guarded.patch | |
| parent | 751879ada14a54de7983c3936d4b517c7f74db2c (diff) | |
automatic import of pocoopeneuler25.09
Diffstat (limited to '0001-Fix-XML-compilation-due-to-new-methods-being-guarded.patch')
| -rw-r--r-- | 0001-Fix-XML-compilation-due-to-new-methods-being-guarded.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/0001-Fix-XML-compilation-due-to-new-methods-being-guarded.patch b/0001-Fix-XML-compilation-due-to-new-methods-being-guarded.patch new file mode 100644 index 0000000..1945f65 --- /dev/null +++ b/0001-Fix-XML-compilation-due-to-new-methods-being-guarded.patch @@ -0,0 +1,26 @@ +From 25136270c5d6b8fa6c2238df640c812465aae1f4 Mon Sep 17 00:00:00 2001 +From: Scott Talbert <swt@techie.net> +Date: Mon, 24 Oct 2022 21:21:31 -0500 +Subject: [PATCH 1/2] Fix XML compilation due to new methods being guarded by + XML_DTD + +--- + XML/CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/XML/CMakeLists.txt b/XML/CMakeLists.txt +index 123657a0c..b99f4f376 100644 +--- a/XML/CMakeLists.txt ++++ b/XML/CMakeLists.txt +@@ -51,7 +51,7 @@ target_include_directories(XML + + if(POCO_UNBUNDLED) + target_link_libraries(XML PUBLIC EXPAT::EXPAT) +- target_compile_definitions(XML PUBLIC POCO_UNBUNDLED) ++ target_compile_definitions(XML PUBLIC POCO_UNBUNDLED XML_DTD) + else() + if(WIN32) + #TODO: Is XML_STATIC only required with Windows? What does it do? +-- +2.38.1 + |
