diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-03-17 00:48:59 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-03-17 00:48:59 +0000 |
commit | cd356b722fd8d162f02a5059fae1a66e00be52e3 (patch) | |
tree | 504d62c3aeab09148b029f019e77ba15b10cf8e6 /net-im/swift/files/swift-4.0.3-libxml2-2.12-compatibility.patch | |
parent | f265f17242b04ae036b4dc174fa95401d895dbc5 (diff) |
gentoo auto-resync : 17:03:2024 - 00:48:58
Diffstat (limited to 'net-im/swift/files/swift-4.0.3-libxml2-2.12-compatibility.patch')
-rw-r--r-- | net-im/swift/files/swift-4.0.3-libxml2-2.12-compatibility.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/net-im/swift/files/swift-4.0.3-libxml2-2.12-compatibility.patch b/net-im/swift/files/swift-4.0.3-libxml2-2.12-compatibility.patch new file mode 100644 index 000000000000..b08a480835f3 --- /dev/null +++ b/net-im/swift/files/swift-4.0.3-libxml2-2.12-compatibility.patch @@ -0,0 +1,11 @@ +--- a/Swiften/Parser/LibXMLParser.cpp ++++ b/Swiften/Parser/LibXMLParser.cpp +@@ -97,7 +97,7 @@ + if (xmlParseChunk(p->context_, data.c_str(), boost::numeric_cast<int>(data.size()), false) == XML_ERR_OK) { + return true; + } +- xmlError* error = xmlCtxtGetLastError(p->context_); ++ const xmlError* error = xmlCtxtGetLastError(p->context_); + if (error->code == XML_WAR_NS_URI || error->code == XML_WAR_NS_URI_RELATIVE) { + xmlCtxtResetLastError(p->context_); + p->context_->errNo = XML_ERR_OK; |