diff options
author | Sean Young <sean@mess.org> | 2015-10-05 11:56:42 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2015-10-06 14:01:29 +0000 |
commit | 7bbb14d6d617dcfd199d429b0cb964e372ed0c08 (patch) | |
tree | 021b0b812c54bcc049b21fb2d497d3f4e1527d21 /external | |
parent | 9983c58c3f07be3c94de35d3edc85f900241e426 (diff) |
libwps: new version 0.4.2
Change-Id: Iefebbca7c67d7685213a96de15e3d448bf4162d6
Reviewed-on: https://gerrit.libreoffice.org/19181
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
Diffstat (limited to 'external')
-rw-r--r-- | external/libwps/0001-add-missing-include.patch | 30 | ||||
-rw-r--r-- | external/libwps/0001-error-atoi-was-not-declared-in-this-scope.patch | 33 | ||||
-rw-r--r-- | external/libwps/Library_wps.mk | 1 | ||||
-rw-r--r-- | external/libwps/UnpackedTarball_libwps.mk | 1 |
4 files changed, 16 insertions, 49 deletions
diff --git a/external/libwps/0001-add-missing-include.patch b/external/libwps/0001-add-missing-include.patch index 842bcf5c300c..9afe2aa0c30e 100644 --- a/external/libwps/0001-add-missing-include.patch +++ b/external/libwps/0001-add-missing-include.patch @@ -1,24 +1,24 @@ -From bc6f0f3a006123a89d1321038edeb75f2fd67c6f Mon Sep 17 00:00:00 2001 -From: David Tardon <dtardon@redhat.com> -Date: Sun, 30 Aug 2015 11:21:29 +0200 +From 53c03b23520005aac0fb9b3036a200d63c7a8f06 Mon Sep 17 00:00:00 2001 +From: Sean Young <sean@mess.org> +Date: Tue, 6 Oct 2015 09:16:11 +0100 Subject: [PATCH] add missing include --- - src/lib/WPS8.cpp | 1 + + src/lib/MSWrite.cpp | 1 + 1 file changed, 1 insertion(+) -diff --git a/src/lib/WPS8.cpp b/src/lib/WPS8.cpp -index 04c1e57..8d39fa8 100644 ---- a/src/lib/WPS8.cpp -+++ b/src/lib/WPS8.cpp -@@ -19,6 +19,7 @@ - * applicable instead of those above. - */ +diff --git a/src/lib/MSWrite.cpp b/src/lib/MSWrite.cpp +index 2bc2511..ab5fdd6 100644 +--- a/src/lib/MSWrite.cpp ++++ b/src/lib/MSWrite.cpp +@@ -32,6 +32,7 @@ + + #include "MSWrite.h" +#include <algorithm> - #include <stdlib.h> - #include <stdio.h> - #include <string.h> + #include <cstring> + + namespace MSWriteParserInternal -- -2.4.3 +2.1.4 diff --git a/external/libwps/0001-error-atoi-was-not-declared-in-this-scope.patch b/external/libwps/0001-error-atoi-was-not-declared-in-this-scope.patch deleted file mode 100644 index 0ebf066cb936..000000000000 --- a/external/libwps/0001-error-atoi-was-not-declared-in-this-scope.patch +++ /dev/null @@ -1,33 +0,0 @@ -From de94f4f83973df18a0cea257656c9cdc0fdd214b Mon Sep 17 00:00:00 2001 -From: David Tardon <dtardon@redhat.com> -Date: Mon, 31 Aug 2015 12:19:53 +0200 -Subject: [PATCH] error: 'atoi' was not declared in this scope - ---- - src/lib/WPSOLEParser.cpp | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/src/lib/WPSOLEParser.cpp b/src/lib/WPSOLEParser.cpp -index 9a57341..ac564b4 100644 ---- a/src/lib/WPSOLEParser.cpp -+++ b/src/lib/WPSOLEParser.cpp -@@ -64,6 +64,7 @@ - * ------------------------------------------------------------ - */ - -+#include <cstdlib> - #include <cstring> - #include <map> - #include <sstream> -@@ -296,7 +297,7 @@ bool WPSOLEParser::parse(RVNGInputStreamPtr file) - std::string::size_type idP = pos-1; - while (idP >=1 && dir[idP-1] >= '0' && dir[idP-1] <= '9') - idP--; -- int val = atoi(dir.substr(idP, idP-pos).c_str()); -+ int val = std::atoi(dir.substr(idP, idP-pos).c_str()); - if (id[0] == -1) id[0] = val; - else - { --- -2.4.3 - diff --git a/external/libwps/Library_wps.mk b/external/libwps/Library_wps.mk index 2af534045b65..337f8625e96a 100644 --- a/external/libwps/Library_wps.mk +++ b/external/libwps/Library_wps.mk @@ -36,6 +36,7 @@ $(eval $(call gb_Library_add_generated_exception_objects,wps,\ UnpackedTarball/libwps/src/lib/LotusGraph \ UnpackedTarball/libwps/src/lib/LotusSpreadsheet \ UnpackedTarball/libwps/src/lib/LotusStyleManager \ + UnpackedTarball/libwps/src/lib/MSWrite \ UnpackedTarball/libwps/src/lib/Quattro \ UnpackedTarball/libwps/src/lib/QuattroSpreadsheet \ UnpackedTarball/libwps/src/lib/WKS4 \ diff --git a/external/libwps/UnpackedTarball_libwps.mk b/external/libwps/UnpackedTarball_libwps.mk index ab31b8da87d4..5fad6b6ba620 100644 --- a/external/libwps/UnpackedTarball_libwps.mk +++ b/external/libwps/UnpackedTarball_libwps.mk @@ -15,7 +15,6 @@ $(eval $(call gb_UnpackedTarball_set_patchlevel,libwps,1)) $(eval $(call gb_UnpackedTarball_add_patches,libwps,\ external/libwps/0001-add-missing-include.patch \ - external/libwps/0001-error-atoi-was-not-declared-in-this-scope.patch \ $(if $(SYSTEM_REVENGE),,external/libwps/rpath.patch.0) \ )) |