git: cbdd4c93d916 - main - www/chromium: revert to previous libxml version check

From: Robert Nagy <rnagy_at_FreeBSD.org>
Date: Sat, 24 Feb 2024 20:26:00 UTC
The branch main has been updated by rnagy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=cbdd4c93d916be35e31fa9d5ef86e10d677cef87

commit cbdd4c93d916be35e31fa9d5ef86e10d677cef87
Author:     Robert Nagy <rnagy@FreeBSD.org>
AuthorDate: 2024-02-24 20:25:30 +0000
Commit:     Robert Nagy <rnagy@FreeBSD.org>
CommitDate: 2024-02-24 20:25:30 +0000

    www/chromium: revert to previous libxml version check
---
 .../files/patch-third__party_blink_renderer_core_xml_xslt__processor.h  | 2 +-
 ...tch-third__party_blink_renderer_core_xml_xslt__processor__libxslt.cc | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/www/chromium/files/patch-third__party_blink_renderer_core_xml_xslt__processor.h b/www/chromium/files/patch-third__party_blink_renderer_core_xml_xslt__processor.h
index 702f8c29c936..a085ea4a2ab0 100644
--- a/www/chromium/files/patch-third__party_blink_renderer_core_xml_xslt__processor.h
+++ b/www/chromium/files/patch-third__party_blink_renderer_core_xml_xslt__processor.h
@@ -4,7 +4,7 @@
  
    void reset();
  
-+#if (LIBXML_VERSION > 21106)
++#if (LIBXML_VERSION >= 21200)
    static void ParseErrorFunc(void* user_data, const xmlError*);
 +#else
 +  static void ParseErrorFunc(void* user_data, xmlError*);
diff --git a/www/chromium/files/patch-third__party_blink_renderer_core_xml_xslt__processor__libxslt.cc b/www/chromium/files/patch-third__party_blink_renderer_core_xml_xslt__processor__libxslt.cc
index 301753e59466..9e11b5e7bdcc 100644
--- a/www/chromium/files/patch-third__party_blink_renderer_core_xml_xslt__processor__libxslt.cc
+++ b/www/chromium/files/patch-third__party_blink_renderer_core_xml_xslt__processor__libxslt.cc
@@ -4,7 +4,7 @@
    // It would be nice to do something with this error message.
  }
  
-+#if (LIBXML_VERSION > 21106)
++#if (LIBXML_VERSION >= 21200)
  void XSLTProcessor::ParseErrorFunc(void* user_data, const xmlError* error) {
 +#else
 +void XSLTProcessor::ParseErrorFunc(void* user_data, xmlError* error) {