diff options
Diffstat (limited to 'dev-libs/boost/files/boost-1.46.1-python32.patch')
-rw-r--r-- | dev-libs/boost/files/boost-1.46.1-python32.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/dev-libs/boost/files/boost-1.46.1-python32.patch b/dev-libs/boost/files/boost-1.46.1-python32.patch new file mode 100644 index 000000000000..5e0583af0f6e --- /dev/null +++ b/dev-libs/boost/files/boost-1.46.1-python32.patch @@ -0,0 +1,16 @@ +Index: libs/python/src/converter/builtin_converters.cpp
+===================================================================
+--- libs/python/src/converter/builtin_converters.cpp (revision 67279)
++++ libs/python/src/converter/builtin_converters.cpp (working copy)
+@@ -431,7 +431,11 @@
+ if (!result.empty()) + { + int err = PyUnicode_AsWideChar( ++#if PY_VERSION_HEX >= 0x03020000 ++ intermediate ++#else + (PyUnicodeObject *)intermediate ++#endif + , &result[0] + , result.size()); + |