summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--download.lst4
-rw-r--r--external/libmwaw/0001-fix-build-with-MSVC.patch.125
-rw-r--r--external/libmwaw/0001-ofz-1037-resize-vector-correctly.patch.125
-rw-r--r--external/libmwaw/UnpackedTarball_libmwaw.mk6
-rwxr-xr-xexternal/libmwaw/libmwaw-fix-compare-assert.patch.113
5 files changed, 2 insertions, 71 deletions
diff --git a/download.lst b/download.lst
index 6bc6ca17ee0c..13b14c346679 100644
--- a/download.lst
+++ b/download.lst
@@ -155,8 +155,8 @@ export MDNSRESPONDER_SHA256SUM := 4737cb51378377e11d0edb7bcdd1bec79cbdaa7b27ea09
export MDNSRESPONDER_TARBALL := mDNSResponder-576.30.4.tar.gz
export MSPUB_SHA256SUM := 26d488527ffbb0b41686d4bab756e3e6aaeb99f88adeb169d0c16d2cde96859a
export MSPUB_TARBALL := libmspub-0.1.2.tar.bz2
-export MWAW_SHA256SUM := 4b483a196bbe82bc0f7cb4cdf70ef1cedb91139bd2e037eabaed4a4d6ed2299a
-export MWAW_VERSION_MICRO := 11
+export MWAW_SHA256SUM := 7691a6e6e7221d61c40e3f630a8907e3e516b99a587e47d09ec53f8ac60ed1e7
+export MWAW_VERSION_MICRO := 12
export MWAW_TARBALL := libmwaw-0.3.$(MWAW_VERSION_MICRO).tar.xz
export MYSQLCPPCONN_SHA256SUM := a25f14dad39e93a2f9cdf09166ee53981f7212dce829e4208e07a522963a8585
export MYSQLCPPCONN_TARBALL := 7239a4430efd4d0189c4f24df67f08e5-mysql-connector-c++-1.1.4.tar.gz
diff --git a/external/libmwaw/0001-fix-build-with-MSVC.patch.1 b/external/libmwaw/0001-fix-build-with-MSVC.patch.1
deleted file mode 100644
index 881fb92752fa..000000000000
--- a/external/libmwaw/0001-fix-build-with-MSVC.patch.1
+++ /dev/null
@@ -1,25 +0,0 @@
-From 3d7479236e565c974a1f6e04d6cd1139bca5cb58 Mon Sep 17 00:00:00 2001
-From: David Tardon <dtardon@redhat.com>
-Date: Tue, 31 Jan 2017 14:49:05 +0100
-Subject: [PATCH] fix build with MSVC
-
----
- src/lib/PowerPoint1Parser.cxx | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/lib/PowerPoint1Parser.cxx b/src/lib/PowerPoint1Parser.cxx
-index 2f735dc..e57eb65 100644
---- a/src/lib/PowerPoint1Parser.cxx
-+++ b/src/lib/PowerPoint1Parser.cxx
-@@ -807,7 +807,7 @@ bool PowerPoint1Parser::readFramesList(MWAWEntry const &entry, std::vector<Power
- if (schemeId>=0 && !getColor(col, schemeId, colors[i])) f << "##col,";
- if (col!=expected[i]) f << "col" << i << "=" << col << ",";
- }
-- if (!isMacFile) std::swap<MWAWColor>(colors[1],colors[3]);
-+ if (!isMacFile) std::swap(colors[1],colors[3]);
- }
- MWAWGraphicStyle &style=frame.m_style;
- val=int(input->readULong(1));
---
-2.9.3
-
diff --git a/external/libmwaw/0001-ofz-1037-resize-vector-correctly.patch.1 b/external/libmwaw/0001-ofz-1037-resize-vector-correctly.patch.1
deleted file mode 100644
index df64f7bcf4d2..000000000000
--- a/external/libmwaw/0001-ofz-1037-resize-vector-correctly.patch.1
+++ /dev/null
@@ -1,25 +0,0 @@
-From 68b3b74569881248bfb6cbb4266177cc253b292f Mon Sep 17 00:00:00 2001
-From: David Tardon <dtardon@redhat.com>
-Date: Sat, 8 Apr 2017 14:03:29 +0200
-Subject: [PATCH] ofz#1037 resize vector correctly
-
----
- src/lib/MsWrd1Parser.cxx | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/lib/MsWrd1Parser.cxx b/src/lib/MsWrd1Parser.cxx
-index 63547e6..3626064 100644
---- a/src/lib/MsWrd1Parser.cxx
-+++ b/src/lib/MsWrd1Parser.cxx
-@@ -902,7 +902,7 @@ bool MsWrd1Parser::readFootnoteCorrespondance(MWAWVec2i limits)
- int id = fIt++->second;
- fPos[1] = fIt==footnoteMap.end() ? m_state->m_eot : fIt->first;
- if (id >= int(m_state->m_footnotesList.size()))
-- m_state->m_footnotesList.resize(size_t(id),MWAWVec2l(0,0));
-+ m_state->m_footnotesList.resize(size_t(id)+1,MWAWVec2l(0,0));
- m_state->m_footnotesList[size_t(id)]=fPos;
- }
- ascii().addDelimiter(input->tell(),'|');
---
-2.13.0
-
diff --git a/external/libmwaw/UnpackedTarball_libmwaw.mk b/external/libmwaw/UnpackedTarball_libmwaw.mk
index 9fa7f0bfdab9..c51473a3fe82 100644
--- a/external/libmwaw/UnpackedTarball_libmwaw.mk
+++ b/external/libmwaw/UnpackedTarball_libmwaw.mk
@@ -35,12 +35,6 @@ $(eval $(call gb_UnpackedTarball_add_patches,libmwaw, \
))
endif
-$(eval $(call gb_UnpackedTarball_add_patches,libmwaw,\
- external/libmwaw/0001-fix-build-with-MSVC.patch.1 \
- external/libmwaw/libmwaw-fix-compare-assert.patch.1 \
- external/libmwaw/0001-ofz-1037-resize-vector-correctly.patch.1 \
-))
-
$(eval $(call gb_UnpackedTarball_add_patches,libmwaw, \
external/libmwaw/iOS.patch.0 \
))
diff --git a/external/libmwaw/libmwaw-fix-compare-assert.patch.1 b/external/libmwaw/libmwaw-fix-compare-assert.patch.1
deleted file mode 100755
index d7dae34a90bb..000000000000
--- a/external/libmwaw/libmwaw-fix-compare-assert.patch.1
+++ /dev/null
@@ -1,13 +0,0 @@
-Assertion failed: invalid comparator
-
---- libmwaw/src/lib/MWAWFont.hxx.orig 2017-04-06 14:19:52.751000000 +0200
-+++ libmwaw/src/lib/MWAWFont.hxx 2017-04-06 13:50:51.385400000 +0200
-@@ -505,7 +505,7 @@
- int diff = id() - oth.id();
- if (diff != 0) return diff;
- if (size() < oth.size()) return -1;
-- if (size() > oth.size()) return -1;
-+ if (size() > oth.size()) return 1;
- if (m_sizeIsRelative.get() != oth.m_sizeIsRelative.get()) return m_sizeIsRelative.get() ? 1 : -1;
- if (flags() < oth.flags()) return -1;
- if (flags() > oth.flags()) return 1;