Remove patches, it's already fixed on upstream
https://bitbucket.org/bodhisnarkva/cbor/issues/9/missing-m_reload-member-when-building-on
Agustin Henze
6 years ago
0 | Author: Agustin Henze <tin@debian.org> | |
1 | Bug-Debian: https://bugs.debian.org/800888 | |
2 | ||
3 | --- | |
4 | ||
5 | --- python-cbor-0.1.24.orig/c/cbormodule.c | |
6 | +++ python-cbor-0.1.24/c/cbormodule.c | |
7 | @@ -1468,7 +1468,11 @@ PyInit__cbor(void) | |
8 | modef.m_doc = NULL; | |
9 | modef.m_size = 0; | |
10 | modef.m_methods = CborMethods; | |
11 | - modef.m_reload = NULL; | |
12 | +#if PY_MINOR_VERSION >= 5 | |
13 | + modef.m_slots = NULL, | |
14 | +#else | |
15 | + modef.m_reload = NULL, | |
16 | +#endif | |
17 | modef.m_traverse = NULL; | |
18 | modef.m_clear = NULL; | |
19 | modef.m_free = NULL; |