mirror of
https://github.com/termux/termux-packages.git
synced 2024-11-21 19:46:19 +00:00
40bc39df4b
https://github.com/CDrummond/cantata is no longer maintained and its github repository has been archived. libmusicbrainz was only used by cantata and has not been released since 2014, as well as embedding an older insecure copy of libxml2 into it.
22 lines
884 B
Diff
22 lines
884 B
Diff
diff -u -r ../libmusicbrainz-5.1.0/src/xmlParser.cc ./src/xmlParser.cc
|
|
--- ../libmusicbrainz-5.1.0/src/xmlParser.cc 2014-11-13 13:12:24.000000000 +0000
|
|
+++ ./src/xmlParser.cc 2024-05-16 18:14:46.942518237 +0000
|
|
@@ -56,7 +56,7 @@
|
|
|
|
doc = xmlParseFile(filename.c_str());
|
|
if ((doc == NULL) && (results != NULL)) {
|
|
- xmlErrorPtr error = xmlGetLastError();
|
|
+ const xmlError * error = xmlGetLastError();
|
|
results->message = error->message;
|
|
results->line = error->line;
|
|
results->code = error->code;
|
|
@@ -71,7 +71,7 @@
|
|
|
|
doc = xmlParseMemory(xml.c_str(), xml.length());
|
|
if ((doc == NULL) && (results != NULL)) {
|
|
- xmlErrorPtr error = xmlGetLastError();
|
|
+ const xmlError * error = xmlGetLastError();
|
|
results->message = error->message;
|
|
results->line = error->line;
|
|
results->code = error->code;
|