mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-16 14:17:02 +02:00
wxPython4: fix build failure
This commit is contained in:
parent
5d65e64bad
commit
99c7e72ff8
1 changed files with 11 additions and 0 deletions
11
srcpkgs/wxPython4/patches/nullptr-cast.patch
Normal file
11
srcpkgs/wxPython4/patches/nullptr-cast.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- a/sip/cpp/sip_propgridwxPGPropArgCls.cpp
|
||||
+++ b/sip/cpp/sip_propgridwxPGPropArgCls.cpp
|
||||
@@ -317,7 +317,7 @@ static int convertTo_wxPGPropArgCls(PyOb
|
||||
return sipGetState(sipTransferObj);
|
||||
}
|
||||
else if (sipPy == Py_None) {
|
||||
- *sipCppPtr = new wxPGPropArgCls(reinterpret_cast< wxPGProperty * >(NULL));
|
||||
+ *sipCppPtr = new wxPGPropArgCls(static_cast< wxPGProperty * >(NULL));
|
||||
return sipGetState(sipTransferObj);
|
||||
}
|
||||
else {
|
Loading…
Add table
Reference in a new issue