Kaydet (Commit) 7bbb14d6 authored tarafından Sean Young's avatar Sean Young Kaydeden (comit) David Tardon

libwps: new version 0.4.2

Change-Id: Iefebbca7c67d7685213a96de15e3d448bf4162d6
Reviewed-on: https://gerrit.libreoffice.org/19181Reviewed-by: 's avatarDavid Tardon <dtardon@redhat.com>
Tested-by: 's avatarDavid Tardon <dtardon@redhat.com>
üst 9983c58c
......@@ -151,8 +151,8 @@ export WPD_MD5SUM := 0773d79a1f240ef9f4f20242b13c5bb7
export WPD_TARBALL := libwpd-0.10.0.tar.bz2
export WPG_MD5SUM := 17da9770cb8b317b7633f9807b32b71a
export WPG_TARBALL := libwpg-0.3.0.tar.bz2
export WPS_MD5SUM := b510da17dabf97864f821a71f1fe9025
export WPS_VERSION_MICRO := 1
export WPS_MD5SUM := 8a6c55542ce80203dd6d3b1cba99d4e5
export WPS_VERSION_MICRO := 2
export WPS_TARBALL := libwps-0.4.$(WPS_VERSION_MICRO).tar.bz2
export XSLTML_TARBALL := a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip
export ZLIB_MD5SUM := 44d667c142d7cda120332623eab69f40
......
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
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
......@@ -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 \
......
......@@ -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) \
))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment