-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PKGBUILD+Patches: Include libxml2 build fix from extra/chromium 119.0…
….6045.199-1
- Loading branch information
1 parent
395aa30
commit c9a3df6
Showing
2 changed files
with
47 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
From 871f8ae9b65ce2679b0bc0be36902d65edf0c1e4 Mon Sep 17 00:00:00 2001 | ||
From: Joey Arhar <[email protected]> | ||
Date: Thu, 2 Nov 2023 20:45:11 +0000 | ||
Subject: [PATCH] Roll libxml from b8961a75 to 7a2d412f | ||
|
||
Bug: 934413 | ||
Change-Id: I6fb176d76dba9a9adf411395fa5f6b950b52920a | ||
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4985186 | ||
Reviewed-by: David Baron <[email protected]> | ||
Commit-Queue: Joey Arhar <[email protected]> | ||
Cr-Commit-Position: refs/heads/main@{#1219084} | ||
--- | ||
third_party/blink/renderer/core/xml/xslt_processor.h | 2 +- | ||
third_party/blink/renderer/core/xml/xslt_processor_libxslt.cc | 2 +- | ||
2 files changed, 2 insertions(+), 2 deletions(-) | ||
|
||
diff --git a/third_party/blink/renderer/core/xml/xslt_processor.h b/third_party/blink/renderer/core/xml/xslt_processor.h | ||
index d53835e9675..2eaea31ed29 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, xmlError*); | ||
+ static void ParseErrorFunc(void* user_data, const 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 133e0b3355d..f424077089d 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, xmlError* error) { | ||
+void XSLTProcessor::ParseErrorFunc(void* user_data, const xmlError* error) { | ||
FrameConsole* console = static_cast<FrameConsole*>(user_data); | ||
if (!console) | ||
return; |