summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2020-06-08 18:45:43 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2020-06-08 18:45:56 +0100
commit72be8cee8b4fb6b8a2632ca7ad035409ff3b9c40 (patch)
tree638495ce3d12af483eb39bbacb4a444f817f1be9 /dev-util/edb-debugger
parentdev-python/nose_warnings_filters: Port to py3.9, fix tests (diff)
downloadgentoo-72be8cee8b4fb6b8a2632ca7ad035409ff3b9c40.tar.gz
gentoo-72be8cee8b4fb6b8a2632ca7ad035409ff3b9c40.tar.bz2
gentoo-72be8cee8b4fb6b8a2632ca7ad035409ff3b9c40.zip
dev-util/edb-debugger: tweak for qt-5.15
Reported-by: Toralf Förster Closes: https://bugs.gentoo.org/727530 Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'dev-util/edb-debugger')
-rw-r--r--dev-util/edb-debugger/edb-debugger-1.2.0.ebuild2
-rw-r--r--dev-util/edb-debugger/files/edb-debugger-1.2.0-qt-5.15.patch20
2 files changed, 22 insertions, 0 deletions
diff --git a/dev-util/edb-debugger/edb-debugger-1.2.0.ebuild b/dev-util/edb-debugger/edb-debugger-1.2.0.ebuild
index 21c906d48591..9fd3eb915ec0 100644
--- a/dev-util/edb-debugger/edb-debugger-1.2.0.ebuild
+++ b/dev-util/edb-debugger/edb-debugger-1.2.0.ebuild
@@ -34,6 +34,8 @@ DEPEND="
${RDEPEND}
"
+PATCHES=("${FILESDIR}"/${PN}-1.2.0-qt-5.15.patch)
+
S=${WORKDIR}/${PN}
src_prepare() {
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>
+