[Libreoffice-commits] core.git: libmwaw/libmwaw-0.1.8-cctype.patch libmwaw/UnpackedTarball_libmwaw.mk
Tor Lillqvist
tlillqvist at suse.com
Wed May 8 09:17:35 PDT 2013
libmwaw/UnpackedTarball_libmwaw.mk | 1 +
libmwaw/libmwaw-0.1.8-cctype.patch | 10 ++++++++++
2 files changed, 11 insertions(+)
New commits:
commit 8b1bd600cd112d97ea77b155db94a1f56f2e11aa
Author: Tor Lillqvist <tlillqvist at suse.com>
Date: Wed May 8 18:56:08 2013 +0300
Include <cctype> for std::tolower() to fix MSVC build
Change-Id: I777bcf9d80ad579347bd26147cb8801cc61222e6
diff --git a/libmwaw/UnpackedTarball_libmwaw.mk b/libmwaw/UnpackedTarball_libmwaw.mk
index c9c149e..a5d9c01 100644
--- a/libmwaw/UnpackedTarball_libmwaw.mk
+++ b/libmwaw/UnpackedTarball_libmwaw.mk
@@ -15,6 +15,7 @@ $(eval $(call gb_UnpackedTarball_set_patchlevel,libmwaw,1))
$(eval $(call gb_UnpackedTarball_add_patches,libmwaw,\
libmwaw/libmwaw-0.1.7-autotools.patch \
+ libmwaw/libmwaw-0.1.8-cctype.patch \
))
# vim: set noet sw=4 ts=4:
diff --git a/libmwaw/libmwaw-0.1.8-cctype.patch b/libmwaw/libmwaw-0.1.8-cctype.patch
new file mode 100644
index 0000000..de515d6
--- /dev/null
+++ b/libmwaw/libmwaw-0.1.8-cctype.patch
@@ -0,0 +1,10 @@
+--- libmwaw-0.1.8/src/lib/MWAWOLEStream.cxx
++++ libmwaw-0.1.8/src/lib/MWAWOLEStream.cxx
+@@ -43,6 +43,7 @@
+ #endif
+
+ #include <cstring>
++#include <cctype>
+ #include <iostream>
+ #include <list>
+ #include <set>
More information about the Libreoffice-commits
mailing list