__condition__ : "VARS.dist in ['FD32']"
'APPLICATION.products.scipy' : '1.5.2' # gcc https://github.com/scipy/scipy/issues/11611 - either patch numpy to include -fallow-argument-mismatch or move to that version
}
+ {
+ __condition__ : "VARS.dist in ['DB10']"
+ 'APPLICATION.products.boost': {tag:'1.58.0', base: 'no', section: 'version_1_58_0_DB10'}
+ }
]
--- /dev/null
+--- boost-1.58.0_ref/libs/python/src/converter/builtin_converters.cpp 2015-03-26 14:16:15.000000000 +0100
++++ boost-1.58.0_dev/libs/python/src/converter/builtin_converters.cpp 2023-02-15 13:08:31.233047962 +0100
+@@ -45,11 +45,16 @@
+ {
+ return PyString_Check(obj) ? PyString_AsString(obj) : 0;
+ }
+-#else
++#elif PY_VERSION_HEX < 0x03070000
+ void* convert_to_cstring(PyObject* obj)
+ {
+ return PyUnicode_Check(obj) ? _PyUnicode_AsString(obj) : 0;
+ }
++#else
++ void* convert_to_cstring(PyObject* obj)
++ {
++ return PyUnicode_Check(obj) ? const_cast<void*>(reinterpret_cast<const void*>(_PyUnicode_AsString(obj))) : 0;
++ }
+ #endif
+
+ // Given a target type and a SlotPolicy describing how to perform a