summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2021-01-24 10:23:19 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2021-01-24 13:57:38 +0100
commitbeabe660dec13ac95cf9c5d06a43a2a10065836b (patch)
tree55463273c13b9b06b40c87431a861d84b2859fc7 /kde-frameworks/kio/kio-5.77.0-r1.ebuild
parentmedia-video/smplayer: Drop 20.4.2 (diff)
downloadgentoo-beabe660dec13ac95cf9c5d06a43a2a10065836b.tar.gz
gentoo-beabe660dec13ac95cf9c5d06a43a2a10065836b.tar.bz2
gentoo-beabe660dec13ac95cf9c5d06a43a2a10065836b.zip
kde-frameworks/kio: Fix build with GCC-11
Upstream commit 9965ec1b9e6f6db192a2355e4e3eb80bc27fc092 Thanks-to: Geoff Leach <gl@cs.rmit.edu.au> Closes: https://bugs.gentoo.org/766480 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-frameworks/kio/kio-5.77.0-r1.ebuild')
-rw-r--r--kde-frameworks/kio/kio-5.77.0-r1.ebuild11
1 files changed, 7 insertions, 4 deletions
diff --git a/kde-frameworks/kio/kio-5.77.0-r1.ebuild b/kde-frameworks/kio/kio-5.77.0-r1.ebuild
index 6b8abe7e5b5..7219074c623 100644
--- a/kde-frameworks/kio/kio-5.77.0-r1.ebuild
+++ b/kde-frameworks/kio/kio-5.77.0-r1.ebuild
@@ -16,6 +16,9 @@ LICENSE="LGPL-2+"
KEYWORDS="amd64 ~arm arm64 ~ppc64 x86"
IUSE="acl +handbook kerberos +kwallet X"
+# tests hang
+RESTRICT+=" test"
+
RDEPEND="
dev-libs/libxml2
dev-libs/libxslt
@@ -68,10 +71,10 @@ PDEPEND="
>=kde-frameworks/kded-${PVCUT}:5
"
-# tests hang
-RESTRICT+=" test"
-
-PATCHES=( "${FILESDIR}/${P}-crashfix.patch" )
+PATCHES=(
+ "${FILESDIR}/${P}-crashfix.patch"
+ "${FILESDIR}/${P}-gcc11.patch" # bug 766480
+)
src_configure() {
local mycmakeargs=(