Kaydet (Commit) e9f849a0 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Need a small patch for Android

üst 0efc8abb
--- misc/build/libwpg-0.2.0/src/lib/WPGSVGGenerator.cpp
+++ misc/build/libwpg-0.2.0/src/lib/WPGSVGGenerator.cpp
@@ -30,7 +30,11 @@
{
std::ostringstream tempStream;
tempStream << value;
+#ifndef __ANDROID__
std::string decimalPoint(localeconv()->decimal_point);
+#else
+ std::string decimalPoint(".");
+#endif
if ((decimalPoint.size() == 0) || (decimalPoint == "."))
return tempStream.str();
std::string stringValue(tempStream.str());
......@@ -51,6 +51,10 @@ INCPRE+=$(SOLARVER)$/$(UPD)$/$(INPATH)$/inc$/libwpd-stream
TARFILE_NAME=libwpg-0.2.0
TARFILE_MD5=5ba6a61a2f66dfd5fee8cdd4cd262a37
PATCH_FILES=$(TARFILE_NAME).patch
BUILD_ACTION=dmake $(MFLAGS) $(CALLMACROS)
BUILD_DIR=src/lib
......
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