0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-23 14:56:16 +00:00
termux-packages/x11-packages/codeblocks/backport-r12532.diff
ifurther dd3c9ea480 New package: codeblocks
codeblocks: add patch file for wxWidgets 3.1.6 and disable compiler
2023-01-10 00:56:58 +00:00

22 lines
965 B
Diff

------------------------------------------------------------------------
r12532 | ollydbg | 2021-10-06 23:29:21 +0900 (Wed, 06 Oct 2021) | 4 lines
* Fix CCManager compilation with C++17(apply patch #1142, thanks Miguel Gimenez)
See details in: https://sourceforge.net/p/codeblocks/tickets/1142/
and forum discussion: https://forums.codeblocks.org/index.php/topic,24643.0.html
------------------------------------------------------------------------
Index: src/include/ccmanager.h
===================================================================
--- src/include/ccmanager.h (revision 12531)
+++ src/include/ccmanager.h (revision 12532)
@@ -44,7 +44,7 @@
* list or the doxygen popup, the scroll event is instead sent there (and skipped for the editor
* window).
*/
-class DLLIMPORT CCManager : public Mgr<CCManager>, wxEvtHandler
+class DLLIMPORT CCManager : public Mgr<CCManager>, public wxEvtHandler
{
public:
friend class Mgr<CCManager>;