From cefa9f37f17e1e9fc86a6475ceef04ccdda7da3a Mon Sep 17 00:00:00 2001 From: Duncaen Date: Sat, 8 Oct 2022 22:11:36 +0200 Subject: [PATCH] edb-debugger: fix build with gcc>=12 --- srcpkgs/edb-debugger/patches/gcc12.patch | 33 ++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 srcpkgs/edb-debugger/patches/gcc12.patch diff --git a/srcpkgs/edb-debugger/patches/gcc12.patch b/srcpkgs/edb-debugger/patches/gcc12.patch new file mode 100644 index 00000000000..931dc45943b --- /dev/null +++ b/srcpkgs/edb-debugger/patches/gcc12.patch @@ -0,0 +1,33 @@ +diff --color -ruN 1/include/IState.h 2/include/IState.h +--- 1/include/IState.h 2020-12-14 02:09:07.000000000 +0100 ++++ 2/include/IState.h 2022-06-22 05:48:20.394258961 +0200 +@@ -19,6 +19,7 @@ + #ifndef ISTATE_H_20110315_ + #define ISTATE_H_20110315_ + ++#include + #include "Register.h" + #include "Types.h" + +diff --color -ruN 1/include/RegisterViewModelBase.h 2/include/RegisterViewModelBase.h +--- 1/include/RegisterViewModelBase.h 2020-12-14 02:09:07.000000000 +0100 ++++ 2/include/RegisterViewModelBase.h 2022-06-22 05:49:05.600877962 +0200 +@@ -6,6 +6,7 @@ + #include "util/Integer.h" + #include + #include ++#include + #include + + Q_DECLARE_METATYPE(std::vector) +diff --color -ruN 1/include/State.h 2/include/State.h +--- 1/include/State.h 2020-12-14 02:09:07.000000000 +0100 ++++ 2/include/State.h 2022-06-22 05:49:27.911029610 +0200 +@@ -19,6 +19,7 @@ + #ifndef STATE_H_20060715_ + #define STATE_H_20060715_ + ++#include + #include "API.h" + #include "Types.h" +