diff options
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 + |
