diff options
Diffstat (limited to 'biology/py-biopython')
-rw-r--r-- | biology/py-biopython/files/patch-Bio::triemodule.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/biology/py-biopython/files/patch-Bio::triemodule.c b/biology/py-biopython/files/patch-Bio::triemodule.c new file mode 100644 index 00000000000..a1d9ab4ae36 --- /dev/null +++ b/biology/py-biopython/files/patch-Bio::triemodule.c @@ -0,0 +1,14 @@ +--- Bio/triemodule.c.orig Thu Dec 2 14:44:14 2004 ++++ Bio/triemodule.c Thu Dec 2 14:47:57 2004 +@@ -477,7 +477,11 @@ + int length; + int success = 0; + ++#ifdef Py_MARSHAL_VERSION ++ if(!(py_marshalled = PyMarshal_WriteObjectToString(py_value, Py_MARSHAL_VERSION))) ++#else + if(!(py_marshalled = PyMarshal_WriteObjectToString(py_value))) ++#endif + goto _write_value_to_handle_cleanup; + if(PyString_AsStringAndSize(py_marshalled, &marshalled, &length) == -1) + goto _write_value_to_handle_cleanup; |