diff options
| author | Sergey Torokhov <torokhov-s-a@yandex.ru> | 2022-05-09 01:34:58 +0300 |
|---|---|---|
| committer | Sam James <sam@gentoo.org> | 2022-05-13 20:03:55 +0000 |
| commit | a9e3756de249e709bc29ef602f2c099b88163c22 (patch) | |
| tree | 42c7c08b51974394f1b77c8b91779792c92b0ed3 /dev-util/codeblocks/files | |
| parent | 97e71000c7110fb7d5827963a20f8f77c36074ee (diff) | |
| download | gentoo-a9e3756de249e709bc29ef602f2c099b88163c22.tar.gz gentoo-a9e3756de249e709bc29ef602f2c099b88163c22.tar.bz2 gentoo-a9e3756de249e709bc29ef602f2c099b88163c22.zip | |
dev-util/codeblocks: cleanup old 17.12-r*, <=20.03-r3
Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-util/codeblocks/files')
| -rw-r--r-- | dev-util/codeblocks/files/codeblocks-17.12-fix-crash-on-copypaste.patch | 20 | ||||
| -rw-r--r-- | dev-util/codeblocks/files/codeblocks-20.03_gcc11_compatibility.patch | 12 |
2 files changed, 0 insertions, 32 deletions
diff --git a/dev-util/codeblocks/files/codeblocks-17.12-fix-crash-on-copypaste.patch b/dev-util/codeblocks/files/codeblocks-17.12-fix-crash-on-copypaste.patch deleted file mode 100644 index 9918c58d8e88..000000000000 --- a/dev-util/codeblocks/files/codeblocks-17.12-fix-crash-on-copypaste.patch +++ /dev/null @@ -1,20 +0,0 @@ -# Fix crashing on paste of copied text from other applications -# https://sourceforge.net/p/codeblocks/tickets/629/ -diff -Nuar a/main.cpp b/main.cpp ---- a/src/src/main.cpp 2017-11-01 02:32:38.000000000 +0300 -+++ b/src/src/main.cpp 2020-03-13 21:59:25.000000000 +0300 -@@ -4321,7 +4321,13 @@ - } - - if (Manager::Get()->GetEditorManager() && event.GetEditor() == Manager::Get()->GetEditorManager()->GetActiveEditor()) -- DoUpdateStatusBar(); -+ { -+ #if wxCHECK_VERSION(3, 0, 0) -+ CallAfter(&MainFrame::DoUpdateStatusBar); -+ #else -+ DoUpdateStatusBar(); -+ #endif // wxCHECK_VERSION(3, 0, 0) -+ } - - event.Skip(); - } diff --git a/dev-util/codeblocks/files/codeblocks-20.03_gcc11_compatibility.patch b/dev-util/codeblocks/files/codeblocks-20.03_gcc11_compatibility.patch deleted file mode 100644 index 46c8643e9c94..000000000000 --- a/dev-util/codeblocks/files/codeblocks-20.03_gcc11_compatibility.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -Naur a/src/plugins/openfileslist/openfileslistplugin.h b/src/plugins/openfileslist/openfileslistplugin.h ---- a/src/plugins/openfileslist/openfileslistplugin.h 2020-10-13 20:35:57.000000000 +0300 -+++ b/src/plugins/openfileslist/openfileslistplugin.h 2020-10-13 20:37:37.000000000 +0300 -@@ -23,7 +23,7 @@ - // Functor for the std::set predicate to sort the opened editor files according to their tab order - struct compareLess - { -- bool operator()(const ProjectFile* lhs, const ProjectFile* rhs) { return lhs->editorTabPos < rhs->editorTabPos; } -+ bool operator()(const ProjectFile* lhs, const ProjectFile* rhs) const { return lhs->editorTabPos < rhs->editorTabPos; } - }; - typedef std::set<ProjectFile*, compareLess> OpenFilesSet; - ProjectFile* activeFile; |
