aboutsummaryrefslogtreecommitdiff
path: root/development/mysql-workbench/0004-libxml2.patch
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-07-05 12:55:49 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-07-06 12:16:39 +0700
commit4cc08c9a0c7c47d975afac97a0aec0f5bfedf4ef (patch)
tree41a04cc1c767bfeb8cf1cd703d8fba665c713a9c /development/mysql-workbench/0004-libxml2.patch
parent052e533ab7451f7ba13c588146b623346366d1ca (diff)
development/mysql-workbench: Updated for version 8.0.38.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/mysql-workbench/0004-libxml2.patch')
-rw-r--r--development/mysql-workbench/0004-libxml2.patch39
1 files changed, 0 insertions, 39 deletions
diff --git a/development/mysql-workbench/0004-libxml2.patch b/development/mysql-workbench/0004-libxml2.patch
deleted file mode 100644
index aa1f7aad9a..0000000000
--- a/development/mysql-workbench/0004-libxml2.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-From a9885c2feb3ec5addfd3d76928844042d014a595 Mon Sep 17 00:00:00 2001
-From: Anton Zhukharev <ancieg@altlinux.org>
-Date: Wed, 27 Dec 2023 16:15:23 +0300
-Subject: [PATCH] fix usage of libxml2
-
----
- mysql-workbench-community/library/grt/src/grt.h | 2 +-
- mysql-workbench-community/library/grt/src/unserializer.cpp | 2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/library/grt/src/grt.h b/library/grt/src/grt.h
-index 47bfd637..43c1e612 100644
---- a/library/grt/src/grt.h
-+++ b/library/grt/src/grt.h
-@@ -34,7 +34,7 @@
- #include <vector>
- #include <stdexcept>
- #include <boost/function.hpp>
--#include <libxml/xmlmemory.h>
-+#include <libxml/tree.h>
- #include "base/threading.h"
- #include <string>
- #include <gmodule.h>
-diff --git a/library/grt/src/unserializer.cpp b/library/grt/src/unserializer.cpp
-index 6dda76d6..8f44c33a 100644
---- a/library/grt/src/unserializer.cpp
-+++ b/library/grt/src/unserializer.cpp
-@@ -401,7 +401,7 @@ ValueRef internal::Unserializer::unserialize_xmldata(const char *data, size_t si
- xmlDocPtr doc = xmlReadMemory(data, (int)size, NULL, NULL, XML_PARSE_NOENT);
-
- if (!doc) {
-- xmlErrorPtr error = xmlGetLastError();
-+ const xmlError *error = xmlGetLastError();
-
- if (error)
- throw std::runtime_error(base::strfmt("Could not parse XML data. Line %d, %s", error->line, error->message));
---
-2.42.1
-