meta-openembedded/meta-python/recipes-devtools/python3-wxgtk4/python3-wxgtk4/sip-fix-override-functions.patch
Kai Kang 6eb78d932f python3-wxgtk4: add recipe
Add recipe for python3-wxgtk4 which is a python3 interface to the
wxWidgets Cross-platform C++ GUI toolkit.

Add patches to
* add back build options for oe
* fixup build scripts for cross compile
* fix sip oevrride functions compile errors

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-30 07:51:38 -07:00

36 lines
1.1 KiB
Diff

It fails to compile with errors:
| ../../../../sip/cpp/sip_gridwxGridEvent.cpp:35:9: error: 'int sipwxGridEvent::GetRow()'
marked 'override', but does not override
| 35 | int GetRow() SIP_OVERRIDE;
| | ^~~~~~
| ../../../../sip/cpp/sip_gridwxGridEvent.cpp:36:9: error: 'int sipwxGridEvent::GetCol()'
marked 'override', but does not over ride
| 36 | int GetCol() SIP_OVERRIDE;
| | ^~~~~~
Make these functions non-override.
Upstream-Status: Pending
Signed-off-by: Kai Kang <kai.kang@windriver.com>
---
sip/cpp/sip_gridwxGridEvent.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sip/cpp/sip_gridwxGridEvent.cpp b/sip/cpp/sip_gridwxGridEvent.cpp
index 0830b677..314aec94 100644
--- a/sip/cpp/sip_gridwxGridEvent.cpp
+++ b/sip/cpp/sip_gridwxGridEvent.cpp
@@ -32,8 +32,8 @@ public:
* this class.
*/
protected:
- int GetRow() SIP_OVERRIDE;
- int GetCol() SIP_OVERRIDE;
+ int GetRow() ;
+ int GetCol() ;
::wxEvent* Clone() const SIP_OVERRIDE;
::wxEventCategory GetEventCategory() const SIP_OVERRIDE;