From eee92fc66783faa17112955812d026d205310001 Mon Sep 17 00:00:00 2001 From: Michael Palimaka Date: Fri, 12 Oct 2018 00:00:34 +1100 Subject: media-gfx/engauge: fix build with Qt 5.11 Closes: https://bugs.gentoo.org/662476 Signed-off-by: Michael Palimaka Package-Manager: Portage-2.3.49, Repoman-2.3.11 --- media-gfx/engauge/engauge-10.6.ebuild | 4 +++- media-gfx/engauge/files/engauge-10.6-qt-5.11.patch | 26 ++++++++++++++++++++++ 2 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 media-gfx/engauge/files/engauge-10.6-qt-5.11.patch (limited to 'media-gfx/engauge') diff --git a/media-gfx/engauge/engauge-10.6.ebuild b/media-gfx/engauge/engauge-10.6.ebuild index ea7530fd0b5f..7d8aba7d2cce 100644 --- a/media-gfx/engauge/engauge-10.6.ebuild +++ b/media-gfx/engauge/engauge-10.6.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -32,6 +32,8 @@ S=$WORKDIR/engauge-digitizer-$PV src_prepare() { eapply_user + eapply "${FILESDIR}/${P}-qt-5.11.patch" + # Make sure the documentation is looked for in the proper directory sed -e "s:engauge-digitizer/engauge.qhc:${PF}/engauge.qhc:" \ -i src/Help/HelpWindow.cpp || die diff --git a/media-gfx/engauge/files/engauge-10.6-qt-5.11.patch b/media-gfx/engauge/files/engauge-10.6-qt-5.11.patch new file mode 100644 index 000000000000..9070f5223939 --- /dev/null +++ b/media-gfx/engauge/files/engauge-10.6-qt-5.11.patch @@ -0,0 +1,26 @@ +Bug: https://bugs.gentoo.org/662476 + +From 5eab86bf84dd1e52fc52b427a8f3508780811976 Mon Sep 17 00:00:00 2001 +From: Michael Palimaka +Date: Thu, 11 Oct 2018 23:51:15 +1100 +Subject: [PATCH] Add missing include. + +--- + src/Load/LoadImageFromUrl.cpp | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/Load/LoadImageFromUrl.cpp b/src/Load/LoadImageFromUrl.cpp +index 684629bd..1150dad0 100644 +--- a/src/Load/LoadImageFromUrl.cpp ++++ b/src/Load/LoadImageFromUrl.cpp +@@ -10,6 +10,7 @@ + #include + #include + #include ++#include + #include + #include "Version.h" + +-- +2.18.1 + -- cgit v1.2.3-65-gdbad