void-packages/srcpkgs/tlsh/patches/musl.patch

12 lines
335 B
Diff

--- ./py_ext/tlshmodule.cpp.orig 2023-09-30 08:54:24.204721322 -0400
+++ ./py_ext/tlshmodule.cpp 2023-09-30 08:54:29.452762079 -0400
@@ -286,7 +286,7 @@
};
static PyTypeObject tlsh_TlshType = {
- PyObject_HEAD_INIT(NULL)
+ PyObject_HEAD_INIT(0)
#if PY_MAJOR_VERSION < 3
0, /* ob_size */
#endif