[Libreoffice-commits] core.git: external/liborcus
Stephan Bergmann (via logerrit)
logerrit at kemper.freedesktop.org
Fri Aug 23 18:24:19 UTC 2019
external/liborcus/0001-Blind-fix-attempt-for-older-macOS-builds.patch | 24 +++++++---
1 file changed, 19 insertions(+), 5 deletions(-)
New commits:
commit caabc3f9fc0b7640966bd55ca0a2bc42f255a945
Author: Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Fri Aug 23 17:08:12 2019 +0200
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Fri Aug 23 20:23:19 2019 +0200
external/liborcus: Blind fix attempt for older macOS builds, take 3
One more place that needs a workaround like
5c2c08f635c30b732df48faca7ba3d411074e05a "external/liborcus: Blind fix attempt
for older macOS builds" and ee02218eb9aaa36f37619cb16bb389762e1785b2
"external/liborcus: Blind fix attempt for older macOS builds, take 2".
Change-Id: I330737e1c31744cd28f753f18edf9c911946b37c
Reviewed-on: https://gerrit.libreoffice.org/78022
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/external/liborcus/0001-Blind-fix-attempt-for-older-macOS-builds.patch b/external/liborcus/0001-Blind-fix-attempt-for-older-macOS-builds.patch
index 17bbf6393bf7..a25a42fd2549 100644
--- a/external/liborcus/0001-Blind-fix-attempt-for-older-macOS-builds.patch
+++ b/external/liborcus/0001-Blind-fix-attempt-for-older-macOS-builds.patch
@@ -1,4 +1,4 @@
-From 37e7b4629c06c241e2fbd33c1897b384875bcbd3 Mon Sep 17 00:00:00 2001
+From a0d47fff81ac100192ada343574da75d992dd00d Mon Sep 17 00:00:00 2001
From: Stephan Bergmann <sbergman at redhat.com>
Date: Fri, 23 Aug 2019 10:26:51 +0200
Subject: [PATCH] Blind fix attempt for older macOS builds
@@ -46,11 +46,11 @@ MacOSX10.13.sdk, but not sure with what Clang and libc++ versions):
)
---
- src/liborcus/xml_map_tree.cpp | 12 ++++++++----
- 1 file changed, 8 insertions(+), 4 deletions(-)
+ src/liborcus/xml_map_tree.cpp | 15 ++++++++++-----
+ 1 file changed, 10 insertions(+), 5 deletions(-)
diff --git a/src/liborcus/xml_map_tree.cpp b/src/liborcus/xml_map_tree.cpp
-index 8338b930..f66b1ff6 100644
+index 8338b930..1a9251c8 100644
--- a/src/liborcus/xml_map_tree.cpp
+++ b/src/liborcus/xml_map_tree.cpp
@@ -211,12 +211,13 @@ xml_map_tree::element* xml_map_tree::element::get_or_create_child(
@@ -97,7 +97,21 @@ index 8338b930..f66b1ff6 100644
element_unlinked,
reference_unknown
)
-@@ -789,11 +792,12 @@ xml_map_tree::element* xml_map_tree::get_element(const pstring& xpath)
+@@ -748,11 +751,12 @@ xml_map_tree::linked_node_type xml_map_tree::get_linked_node(const pstring& xpat
+ if (it != attrs.end())
+ throw xpath_error("This attribute is already linked. You can't link the same attribute twice.");
+
++ auto const nm = m_names.intern(token.name.get(), token.name.size()).first;
+ attribute* p = m_attribute_pool.construct(
+ attribute::args_type(
+ *this,
+ token.ns,
+- m_names.intern(token.name.get(), token.name.size()).first,
++ nm,
+ ref_type
+ )
+ );
+@@ -789,11 +793,12 @@ xml_map_tree::element* xml_map_tree::get_element(const pstring& xpath)
if (token.attribute)
throw xpath_error("root element cannot be an attribute.");
More information about the Libreoffice-commits
mailing list