]> git.pld-linux.org Git - packages/VirtualBox.git/blob - libxml2.12.patch
- rel 2 (libvpx 1.14)
[packages/VirtualBox.git] / libxml2.12.patch
1 --- VirtualBox-7.0.12/include/iprt/cpp/xml.h.orig       2023-12-24 15:42:18.092685383 +0100
2 +++ VirtualBox-7.0.12/include/iprt/cpp/xml.h    2023-12-24 15:46:14.872125732 +0100
3 @@ -113,9 +113,9 @@
4  class RT_DECL_CLASS XmlError : public RuntimeError
5  {
6  public:
7 -    XmlError(xmlErrorPtr aErr);
8 +    XmlError(const xmlError* aErr);
9  
10 -    static char* Format(xmlErrorPtr aErr);
11 +    static char* Format(const xmlError* aErr);
12  };
13  
14  // Logical errors
15 --- VirtualBox-7.0.12/src/VBox/Runtime/r3/xml.cpp.orig  2023-12-24 15:31:18.385556729 +0100
16 +++ VirtualBox-7.0.12/src/VBox/Runtime/r3/xml.cpp       2023-12-24 15:46:31.679225463 +0100
17 @@ -131,7 +131,7 @@
18      RTStrFree(msg);
19  }
20  
21 -XmlError::XmlError(xmlErrorPtr aErr)
22 +XmlError::XmlError(const xmlError* aErr)
23  {
24      if (!aErr)
25          throw EInvalidArg(RT_SRC_POS);
26 @@ -145,7 +145,7 @@
27   * Composes a single message for the given error. The caller must free the
28   * returned string using RTStrFree() when no more necessary.
29   */
30 -/* static */ char *XmlError::Format(xmlErrorPtr aErr)
31 +/* static */ char *XmlError::Format(const xmlError *aErr)
32  {
33      const char *msg = aErr->message ? aErr->message : "<none>";
34      size_t msgLen = strlen(msg);
35 @@ -1856,7 +1856,7 @@
36      va_end(args);
37  }
38  
39 -static void xmlParserBaseStructuredError(void *pCtx, xmlErrorPtr error) RT_NOTHROW_DEF
40 +static void xmlParserBaseStructuredError(void *pCtx, const xmlError* error) RT_NOTHROW_DEF
41  {
42      NOREF(pCtx);
43      /* we expect that there is always a trailing NL */
This page took 0.02897 seconds and 3 git commands to generate.