[Libreoffice-commits] core.git: external/python3
Tor Lillqvist
tml at collabora.com
Mon Jul 7 17:01:33 PDT 2014
external/python3/UnpackedTarball_python3.mk | 1 +
external/python3/python-3.3.5-vs2013.patch.1 | 14 ++++++++++++++
2 files changed, 15 insertions(+)
New commits:
commit 502246c3a8f70239df9c4003e2ff779b573c3db6
Author: Tor Lillqvist <tml at collabora.com>
Date: Tue Jul 8 03:01:01 2014 +0300
VS 2013 has round()
Change-Id: I1cc91bccd288543162b1169ce5621a91a5d4f991
diff --git a/external/python3/UnpackedTarball_python3.mk b/external/python3/UnpackedTarball_python3.mk
index 49a56e0..41725c3 100644
--- a/external/python3/UnpackedTarball_python3.mk
+++ b/external/python3/UnpackedTarball_python3.mk
@@ -30,6 +30,7 @@ $(eval $(call gb_UnpackedTarball_add_patches,python3,\
external/python3/python-3.3.3-py17797.patch.1 \
external/python3/python-3.3.3-msvc2012-winxp.patch.1 \
external/python3/python-3.3.5-pyexpat-symbols.patch.1 \
+ external/python3/python-3.3.5-vs2013.patch.1 \
external/python3/python-lsan.patch.0 \
))
diff --git a/external/python3/python-3.3.5-vs2013.patch.1 b/external/python3/python-3.3.5-vs2013.patch.1
new file mode 100644
index 0000000..5540ea1
--- /dev/null
+++ b/external/python3/python-3.3.5-vs2013.patch.1
@@ -0,0 +1,14 @@
+-*- Mode:Diff -*-
+--- python3/PC/pyconfig.h
++++ python3/PC/pyconfig.h
+@@ -602,6 +602,10 @@
+ /* Define if you have readlink. */
+ /* #undef HAVE_READLINK */
+
++#if defined(_MSC_VER) && _MSC_VER >= 1800
++#define HAVE_ROUND
++#endif
++
+ /* Define if you have select. */
+ /* #undef HAVE_SELECT */
+
More information about the Libreoffice-commits
mailing list