mirror of
https://git.freebsd.org/ports.git
synced 2025-06-10 15:20:32 -04:00
py-wxPython40 aka Phoenix is a reborn of wxPython and in particular it allows to use wxWidgets with Python3. - Add x11-toolkits/py-wxPython40 - Replace wxPython30 by wxPython40 when python wxWidgets is required - Fix cad/kicad and cad/kicad-devel to use wxPython40 "Phoenix" - Update comms/congruity, graphics/py-mayavi from wx 2.8 to 3.0 - While I'm here fix portlint per emulators/playonbsd - Remove RUN_DEPENDS from USE_WX per graphics/djvusmooth - Bump portversion - Fix unicode on x11-toolkits/wxgtk30 and take Maintainer'ship PR: 241893 Reviewed by: koobs, tcberner Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D21915 Exp-run by: antoine
17 lines
837 B
C++
17 lines
837 B
C++
LLVM/CLANG cannot compile with reinterpret_cast.
|
|
|
|
https://svnweb.freebsd.org/ports/head/x11-toolkits/py-wxPython30/files/patch-src_gtk_propgrid__wrap.cpp?revision=383979&view=markup
|
|
https://github.com/wxWidgets/Phoenix/issues/1416#issuecomment-557263381
|
|
https://github.com/wxWidgets/Phoenix/pull/1445
|
|
|
|
--- sip/cpp/sip_propgridwxPGPropArgCls.cpp.orig 2019-05-22 02:14:14 UTC
|
|
+++ sip/cpp/sip_propgridwxPGPropArgCls.cpp
|
|
@@ -317,7 +317,7 @@ static int convertTo_wxPGPropArgCls(PyObject *sipPy,vo
|
|
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 {
|