Files
MINGW-packages/mingw-w64-python-glcontext/0001-workaround-for-clang.patch
Biswapriyo Nath 5a1fc78f1f python-glcontext: Udpate to 2.3.4
Add workaround for clang compiler error
2021-07-20 10:29:09 +05:30

12 lines
250 B
Diff

--- a/glcontext/wgl.cpp
+++ b/glcontext/wgl.cpp
@@ -290,7 +290,7 @@
PyType_Slot GLContext_slots[] = {
{Py_tp_methods, GLContext_methods},
- {Py_tp_dealloc, GLContext_dealloc},
+ {Py_tp_dealloc, (void*)GLContext_dealloc},
{},
};