summaryrefslogtreecommitdiff
path: root/dev-util/edb-debugger/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-01-18 20:07:15 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-01-18 20:07:15 +0000
commita4c0eb2444b57e79bce0a088e5936ed71c415e8f (patch)
tree61a990b001109844a226b1fbe33bb38486a88c8e /dev-util/edb-debugger/files
parente60b61e39bb9b7cbf525baa183a5a19234f335fa (diff)
gentoo auto-resync : 18:01:2024 - 20:07:15
Diffstat (limited to 'dev-util/edb-debugger/files')
-rw-r--r--dev-util/edb-debugger/files/edb-debugger-1.3.0-capstone-5.patch29
-rw-r--r--dev-util/edb-debugger/files/edb-debugger-1.3.0-gcc12.patch88
-rw-r--r--dev-util/edb-debugger/files/edb-debugger-1.3.0-gcc13.patch26
3 files changed, 0 insertions, 143 deletions
diff --git a/dev-util/edb-debugger/files/edb-debugger-1.3.0-capstone-5.patch b/dev-util/edb-debugger/files/edb-debugger-1.3.0-capstone-5.patch
deleted file mode 100644
index d900ae335242..000000000000
--- a/dev-util/edb-debugger/files/edb-debugger-1.3.0-capstone-5.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From cb1da3fb1d2e45e279118ee8e68468373b71dbc8 Mon Sep 17 00:00:00 2001
-From: Sam James <sam@gentoo.org>
-Date: Tue, 13 Sep 2022 17:52:01 +0100
-Subject: [PATCH] Fix build with Capstone 5
-
-Capstone 5 drops X86_INS_VCVTPD2DQX and X86_INS_VCVTPD2PSX from
-x86.h (happened in https://github.com/capstone-engine/capstone/commit/dd91f03fef5102492352756e2adb5972dd79a70f
-but no real explanation).
-
-Given:
-1. these instructions had no wiring up;
-2. other Capstone consumers have done the same
-let's drop based on a macro for the Capstone version.
-
-Bug: https://bugs.gentoo.org/843755
-Signed-off-by: Sam James <sam@gentoo.org>
---- a/src/capstone-edb/Instruction.cpp
-+++ b/src/capstone-edb/Instruction.cpp
-@@ -880,8 +880,10 @@ bool is_SIMD_PD(const Operand &operand) {
- case X86_INS_CVTPD2PI:
- case X86_INS_CVTPD2PS:
- case X86_INS_VCVTPD2PS:
-+#if CS_API_MAJOR < 5
- case X86_INS_VCVTPD2DQX: // FIXME: what's this?
- case X86_INS_VCVTPD2PSX: // FIXME: what's this?
-+#endif
- // case X86_INS_VCVTPD2QQ: // FIXME: Capstone seems to not support it
- case X86_INS_VCVTPD2UDQ:
- // case X86_INS_VCVTPD2UQQ: // FIXME: Capstone seems to not support it
diff --git a/dev-util/edb-debugger/files/edb-debugger-1.3.0-gcc12.patch b/dev-util/edb-debugger/files/edb-debugger-1.3.0-gcc12.patch
deleted file mode 100644
index df037193310f..000000000000
--- a/dev-util/edb-debugger/files/edb-debugger-1.3.0-gcc12.patch
+++ /dev/null
@@ -1,88 +0,0 @@
-https://github.com/eteran/edb-debugger/commit/da04c339559f82257ff54ea62b1d403ee98c1ba0
-https://bugs.gentoo.org/841839
-
-From da04c339559f82257ff54ea62b1d403ee98c1ba0 Mon Sep 17 00:00:00 2001
-From: Sergei Trofimovich <slyich@gmail.com>
-Date: Sat, 2 Apr 2022 22:36:50 +0000
-Subject: [PATCH] Gcc 12 includes fix (#815)
-
-* RegisterViewModelBase.h: add <memory> for unique_ptr
-
-Without the change gcc-12 fails to build edb-debugger as:
-
- [ 20%] Building CXX object src/CMakeFiles/edb.dir/RegisterViewModelBase.cpp.o
- In file included from edb-debugger/src/RegisterViewModelBase.cpp:18:
- edb-debugger/include/RegisterViewModelBase.h:162:14: error:
- 'unique_ptr' in namespace 'std' does not name a template type
- 162 | std::unique_ptr<CategoriesHolder> rootItem;
- | ^~~~~~~~~~
- edb-debugger/include/RegisterViewModelBase.h:9:1: note:
- 'std::unique_ptr' is defined in header '<memory>';
- did you forget to '#include <memory>'?
- 8 | #include <deque>
- +++ |+#include <memory>
-
-* State.h: add <memory> for unique_ptr
-
-Without the change gcc-12 fails to build edb-debugger as:
-
- [ 21%] Building CXX object src/CMakeFiles/edb.dir/State.cpp.o
- In file included from edb-debugger/src/State.cpp:19:
- edb-debugger/include/State.h:93:14:
- error: 'unique_ptr' in namespace 'std' does not name a template type
- 93 | std::unique_ptr<IState> impl_;
- | ^~~~~~~~~~
- edb-debugger/include/State.h:24:1:
- note: 'std::unique_ptr' is defined in header '<memory>';
- did you forget to '#include <memory>'?
- 23 | #include "Types.h"
- +++ |+#include <memory>
- 24 |
-
-* IState.h: add <memory> for unique_ptr
-
-Without the change gcc-12 fails to build edb-debugger as:
-
- [ 69%] Building CXX object plugins/DebuggerCore/CMakeFiles/DebuggerCore.dir/unix/linux/arch/x86-generic/PlatformState.cpp.o
- In file included from edb-debugger/plugins/DebuggerCore/unix/linux/arch/x86-generic/PlatformState.h:22,
- from edb-debugger/plugins/DebuggerCore/unix/linux/arch/x86-generic/PlatformState.cpp:19:
- edb-debugger/include/IState.h:33:22:
- error: 'unique_ptr' in namespace 'std' does not name a template type
- 33 | virtual std::unique_ptr<IState> clone() const = 0;
- | ^~~~~~~~~~
- edb-debugger/include/IState.h:23:1:
- note: 'std::unique_ptr' is defined in header '<memory>';
- did you forget to '#include <memory>'?
- 22 | #include "Register.h"
- +++ |+#include <memory>
- 23 | #include "Types.h"
---- a/include/IState.h
-+++ b/include/IState.h
-@@ -19,6 +19,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
- #ifndef ISTATE_H_20110315_
- #define ISTATE_H_20110315_
-
-+#include <memory>
- #include "Register.h"
- #include "Types.h"
-
---- a/include/RegisterViewModelBase.h
-+++ b/include/RegisterViewModelBase.h
-@@ -6,6 +6,7 @@
- #include "util/Integer.h"
- #include <QAbstractItemModel>
- #include <deque>
-+#include <memory>
- #include <vector>
-
- Q_DECLARE_METATYPE(std::vector<NumberDisplayMode>)
---- a/include/State.h
-+++ b/include/State.h
-@@ -19,6 +19,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
- #ifndef STATE_H_20060715_
- #define STATE_H_20060715_
-
-+#include <memory>
- #include "API.h"
- #include "Types.h"
-
diff --git a/dev-util/edb-debugger/files/edb-debugger-1.3.0-gcc13.patch b/dev-util/edb-debugger/files/edb-debugger-1.3.0-gcc13.patch
deleted file mode 100644
index f30eacc97436..000000000000
--- a/dev-util/edb-debugger/files/edb-debugger-1.3.0-gcc13.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-https://github.com/eteran/edb-debugger/pull/837
-
-From 934de81a7799f3e1d210366e0eb5ea86d172ead4 Mon Sep 17 00:00:00 2001
-From: Sam James <sam@gentoo.org>
-Date: Sat, 15 Apr 2023 10:05:11 +0100
-Subject: [PATCH] Fix build with GCC 13
-
-GCC 13 (as usual for new compiler releases) shuffles around some internal includes so some
-are no longer transitively included.
-
-See https://gnu.org/software/gcc/gcc-13/porting_to.html.
-
-Bug: https://bugs.gentoo.org/897890
---- a/plugins/DebuggerCore/unix/linux/FeatureDetect.cpp
-+++ b/plugins/DebuggerCore/unix/linux/FeatureDetect.cpp
-@@ -19,6 +19,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
- #include "FeatureDetect.h"
- #include "edb.h"
-
-+#include <cstdint>
- #include <fcntl.h>
- #include <iomanip>
- #include <iostream>
---
-2.40.0
-