Skip site navigation (1)Skip section navigation (2)
From:      Vladimir Druzenko <vvd@FreeBSD.org>
Subject:   git: 2314a4951123 - main - emulators/virtualbox-ose{,-legacy}: Fix patch for build with libxml2 2.12.6+

| raw e-mail | index | archive | help
The branch main has been updated by vvd:

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

commit 2314a49511237890c2f018fde71e81766c54c9ff
Author:     Vladimir Druzenko <vvd@FreeBSD.org>
AuthorDate: 2025-06-04 01:04:04 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2025-06-04 01:04:04 +0000

    emulators/virtualbox-ose{,-legacy}: Fix patch for build with libxml2 2.12.6+
    
    Remove RT_NOTHROW_DEF: it is defined in VirtualBox itself, but was only
    introduced in version 7.0.
    
    PR:     287284 279958
    Fixes:  17271d3143c9 (Fix build with libxml2 2.12.6+)
---
 emulators/virtualbox-ose-legacy/files/patch-src_VBox_Runtime_r3_xml.cpp | 2 +-
 emulators/virtualbox-ose/files/patch-src_VBox_Runtime_r3_xml.cpp        | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/emulators/virtualbox-ose-legacy/files/patch-src_VBox_Runtime_r3_xml.cpp b/emulators/virtualbox-ose-legacy/files/patch-src_VBox_Runtime_r3_xml.cpp
index ae097a96d33c..79dd02e083d7 100644
--- a/emulators/virtualbox-ose-legacy/files/patch-src_VBox_Runtime_r3_xml.cpp
+++ b/emulators/virtualbox-ose-legacy/files/patch-src_VBox_Runtime_r3_xml.cpp
@@ -5,7 +5,7 @@
  }
  
 +#if LIBXML_VERSION >= 21206
-+static void xmlStructuredErrorFunc(void *userData, const xmlError *error)  RT_NOTHROW_DEF
++static void xmlStructuredErrorFunc(void *userData, const xmlError *error)
 +{
 +    NOREF(userData);
 +    NOREF(error);
diff --git a/emulators/virtualbox-ose/files/patch-src_VBox_Runtime_r3_xml.cpp b/emulators/virtualbox-ose/files/patch-src_VBox_Runtime_r3_xml.cpp
index 7be568f82f37..9f17777fdc2a 100644
--- a/emulators/virtualbox-ose/files/patch-src_VBox_Runtime_r3_xml.cpp
+++ b/emulators/virtualbox-ose/files/patch-src_VBox_Runtime_r3_xml.cpp
@@ -5,7 +5,7 @@
  }
  
 +#if LIBXML_VERSION >= 21206
-+static void xmlStructuredErrorFunc(void *userData, const xmlError *error)  RT_NOTHROW_DEF
++static void xmlStructuredErrorFunc(void *userData, const xmlError *error)
 +{
 +    NOREF(userData);
 +    NOREF(error);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?>