diff options
| author | CoprDistGit <infra@openeuler.org> | 2026-10-09 04:32:42 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2026-10-09 04:32:42 +0000 |
| commit | 9c3fcbb8a6a23e186b8ff01cf340f44718f3d99f (patch) | |
| tree | ac7c4824af91d3c53deb8f01889b30b1b0608819 /0001-Fix-XML-compilation-due-to-new-methods-being-guarded.patch | |
| parent | 41936b67e71421b860447cc1987b82194dfb627e (diff) | |
automatic import of pocoopeneuler24.03_LTS
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 + |
