summaryrefslogtreecommitdiff
path: root/dev-util/edb-debugger/files/edb-debugger-1.2.0-qt-5.15.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/edb-debugger/files/edb-debugger-1.2.0-qt-5.15.patch')
-rw-r--r--dev-util/edb-debugger/files/edb-debugger-1.2.0-qt-5.15.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/dev-util/edb-debugger/files/edb-debugger-1.2.0-qt-5.15.patch b/dev-util/edb-debugger/files/edb-debugger-1.2.0-qt-5.15.patch
new file mode 100644
index 000000000000..795cb8fce681
--- /dev/null
+++ b/dev-util/edb-debugger/files/edb-debugger-1.2.0-qt-5.15.patch
@@ -0,0 +1,20 @@
+https://bugs.gentoo.org/727530
+https://github.com/eteran/edb-debugger/pull/766
+
+Fix build failure on qt-5.15. Typical build error is:
+
+src/widgets/QDisassemblyView.cpp:1503:17:
+ error: aggregate ‘QPainterPath path’ has incomplete type and cannot be defined
+ 1503 | QPainterPath path;
+ | ^~~~
+
+--- a/src/widgets/QDisassemblyView.h
++++ b/src/widgets/QDisassemblyView.h
+@@ -25,6 +25,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
+ #include <QAbstractScrollArea>
+ #include <QAbstractSlider>
+ #include <QCache>
++#include <QPainterPath>
+ #include <QPixmap>
+ #include <QSvgRenderer>
+