summaryrefslogtreecommitdiff
path: root/external/libetonyek
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2017-10-23 10:21:50 +0200
committerDavid Tardon <dtardon@redhat.com>2017-10-23 14:16:12 +0200
commit688dddcd843b85eeadaea49b8ddb7c90c05c4a9f (patch)
tree85d32a65d567b40beff22b203e1d1fb87fe50ee7 /external/libetonyek
parentdaa6fe9f040314bf05f914a45e10a8d7b9613d3b (diff)
upload libetonyek 0.1.7
Change-Id: Iabca84c1ba3a14716b7707541434efcc82581a78 Reviewed-on: https://gerrit.libreoffice.org/43709 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: David Tardon <dtardon@redhat.com>
Diffstat (limited to 'external/libetonyek')
-rw-r--r--external/libetonyek/0001-add-missing-include-for-std-min.patch.125
-rw-r--r--external/libetonyek/0001-fix-brain-fart.patch.135
-rw-r--r--external/libetonyek/UnpackedTarball_libetonyek.mk3
-rw-r--r--external/libetonyek/silence-libxml.patch24
4 files changed, 26 insertions, 61 deletions
diff --git a/external/libetonyek/0001-add-missing-include-for-std-min.patch.1 b/external/libetonyek/0001-add-missing-include-for-std-min.patch.1
new file mode 100644
index 000000000000..dc3e70988d56
--- /dev/null
+++ b/external/libetonyek/0001-add-missing-include-for-std-min.patch.1
@@ -0,0 +1,25 @@
+From cc71d75b4d9b88b5c920cd039bab3e707e71568b Mon Sep 17 00:00:00 2001
+From: David Tardon <dtardon@redhat.com>
+Date: Mon, 23 Oct 2017 12:55:43 +0200
+Subject: [PATCH] add missing include for std::min
+
+Change-Id: I2088057657f3ce23b91dbbc7b4f5840914dbcaa8
+---
+ src/lib/IWASnappyStream.cpp | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/lib/IWASnappyStream.cpp b/src/lib/IWASnappyStream.cpp
+index 7b28681..9cc84c3 100644
+--- a/src/lib/IWASnappyStream.cpp
++++ b/src/lib/IWASnappyStream.cpp
+@@ -9,6 +9,7 @@
+
+ #include "IWASnappyStream.h"
+
++#include <algorithm>
+ #include <cassert>
+ #include <limits>
+ #include <memory>
+--
+2.14.1
+
diff --git a/external/libetonyek/0001-fix-brain-fart.patch.1 b/external/libetonyek/0001-fix-brain-fart.patch.1
deleted file mode 100644
index 441e275c5f45..000000000000
--- a/external/libetonyek/0001-fix-brain-fart.patch.1
+++ /dev/null
@@ -1,35 +0,0 @@
-From 649f459c499ceab07446ed913ae661c31e13044a Mon Sep 17 00:00:00 2001
-From: David Tardon <dtardon@redhat.com>
-Date: Thu, 14 Jan 2016 09:16:16 +0100
-Subject: [PATCH] fix brain fart
-
-Change-Id: If7c5e3c6cebe2f97f1c9f5793cf25cea135a7735
----
- src/lib/IWORKText.cpp | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/src/lib/IWORKText.cpp b/src/lib/IWORKText.cpp
-index 20d7c5b..ef34b4b 100644
---- a/src/lib/IWORKText.cpp
-+++ b/src/lib/IWORKText.cpp
-@@ -763,7 +763,7 @@ void IWORKText::insertBlockContent(const IWORKOutputElements &elements)
- {
- if (m_inPara)
- closePara();
-- if (!m_inSection and needsSection())
-+ if (!m_inSection && needsSection())
- openSection();
- m_elements.append(elements);
- m_ignoreEmptyPara = true;
-@@ -817,7 +817,7 @@ void IWORKText::openPara()
- {
- assert(!m_inPara);
-
-- if (!m_inSection and needsSection())
-+ if (!m_inSection && needsSection())
- openSection();
- handleListLevelChange(m_listLevel);
-
---
-2.5.0
-
diff --git a/external/libetonyek/UnpackedTarball_libetonyek.mk b/external/libetonyek/UnpackedTarball_libetonyek.mk
index 3d6cce2bab7b..f178b469e028 100644
--- a/external/libetonyek/UnpackedTarball_libetonyek.mk
+++ b/external/libetonyek/UnpackedTarball_libetonyek.mk
@@ -19,8 +19,7 @@ $(eval $(call gb_UnpackedTarball_add_patches,libetonyek,\
external/libetonyek/win_build.patch.1 \
external/libetonyek/ubsan.patch \
external/libetonyek/rpath.patch \
- external/libetonyek/silence-libxml.patch \
- external/libetonyek/0001-fix-brain-fart.patch.1 \
+ external/libetonyek/0001-add-missing-include-for-std-min.patch.1 \
))
ifneq ($(OS),MACOSX)
diff --git a/external/libetonyek/silence-libxml.patch b/external/libetonyek/silence-libxml.patch
deleted file mode 100644
index f8730bf332b2..000000000000
--- a/external/libetonyek/silence-libxml.patch
+++ /dev/null
@@ -1,24 +0,0 @@
---- src/lib/EtonyekDocument.cpp
-+++ src/lib/EtonyekDocument.cpp
-@@ -103,12 +103,21 @@
- return false;
- }
-
-+namespace
-+{
-+ void handleError(void * /*arg*/, const char * /*msg*/, xmlParserSeverities /*severity*/, xmlTextReaderLocatorPtr /*locator*/)
-+ {
-+ }
-+}
-+
- bool probeXML(DetectionInfo &info)
- {
- const shared_ptr<xmlTextReader> reader(xmlReaderForIO(readFromStream, closeStream, info.m_input.get(), "", 0, 0), xmlFreeTextReader);
- if (!reader)
- return false;
-
-+ xmlTextReaderSetErrorHandler(reader.get(), handleError, NULL);
-+
- int ret = 0;
- do
- {