diff options
author | Chris Xiong <chirs241097@gmail.com> | 2023-11-10 21:08:34 -0500 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2023-11-10 21:23:33 -0500 |
commit | 9260340b6cf027ce7ee1f0b80ac1155f439fa411 (patch) | |
tree | e3b4ffac9e7fab563be658363d4b902f5cd2507d /www-client/chromium/files | |
parent | 90ac3ae01898db96144e2145cddc13871001dacd (diff) | |
download | ppo-9260340b6cf027ce7ee1f0b80ac1155f439fa411.tar.xz |
old libxml2 support
Diffstat (limited to 'www-client/chromium/files')
-rw-r--r-- | www-client/chromium/files/chromium-121-blink_libxml2_downgrade.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/www-client/chromium/files/chromium-121-blink_libxml2_downgrade.patch b/www-client/chromium/files/chromium-121-blink_libxml2_downgrade.patch new file mode 100644 index 0000000..a420538 --- /dev/null +++ b/www-client/chromium/files/chromium-121-blink_libxml2_downgrade.patch @@ -0,0 +1,26 @@ +diff --git a/third_party/blink/renderer/core/xml/xslt_processor.h b/third_party/blink/renderer/core/xml/xslt_processor.h +index 2eaea31ed2..d53835e967 100644 +--- a/third_party/blink/renderer/core/xml/xslt_processor.h ++++ b/third_party/blink/renderer/core/xml/xslt_processor.h +@@ -77,7 +77,7 @@ class XSLTProcessor final : public ScriptWrappable { + + void reset(); + +- static void ParseErrorFunc(void* user_data, const xmlError*); ++ static void ParseErrorFunc(void* user_data, xmlError*); + static void GenericErrorFunc(void* user_data, const char* msg, ...); + + // Only for libXSLT callbacks +diff --git a/third_party/blink/renderer/core/xml/xslt_processor_libxslt.cc b/third_party/blink/renderer/core/xml/xslt_processor_libxslt.cc +index f424077089..133e0b3355 100644 +--- a/third_party/blink/renderer/core/xml/xslt_processor_libxslt.cc ++++ b/third_party/blink/renderer/core/xml/xslt_processor_libxslt.cc +@@ -66,7 +66,7 @@ void XSLTProcessor::GenericErrorFunc(void*, const char*, ...) { + // It would be nice to do something with this error message. + } + +-void XSLTProcessor::ParseErrorFunc(void* user_data, const xmlError* error) { ++void XSLTProcessor::ParseErrorFunc(void* user_data, xmlError* error) { + FrameConsole* console = static_cast<FrameConsole*>(user_data); + if (!console) + return; |