From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 234191382C5 for ; Sun, 24 Jan 2021 13:03:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6F63FE0A02; Sun, 24 Jan 2021 13:03:47 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5A061E0A02 for ; Sun, 24 Jan 2021 13:03:47 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 83F8B3411C0 for ; Sun, 24 Jan 2021 13:03:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2337B2C5 for ; Sun, 24 Jan 2021 13:03:45 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1611493393.6733c610258ddf66de113f23dde026e31f7a8069.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-qt/qtdeclarative/files/, dev-qt/qtdeclarative/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-qt/qtdeclarative/files/qtdeclarative-5.15.2-gcc11.patch dev-qt/qtdeclarative/qtdeclarative-5.15.2.ebuild X-VCS-Directories: dev-qt/qtdeclarative/files/ dev-qt/qtdeclarative/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 6733c610258ddf66de113f23dde026e31f7a8069 X-VCS-Branch: master Date: Sun, 24 Jan 2021 13:03:45 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 3f92b07a-9352-420f-a84e-9b5aa96665b2 X-Archives-Hash: 0fea05d3db9e2a62118452f61e10424f commit: 6733c610258ddf66de113f23dde026e31f7a8069 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun Jan 10 22:05:58 2021 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Jan 24 13:03:13 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6733c610 dev-qt/qtdeclarative: Fix build with GCC-11 Closes: https://bugs.gentoo.org/752093 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Andreas Sturmlechner gentoo.org> .../files/qtdeclarative-5.15.2-gcc11.patch | 31 ++++++++++++++++++++++ dev-qt/qtdeclarative/qtdeclarative-5.15.2.ebuild | 1 + 2 files changed, 32 insertions(+) diff --git a/dev-qt/qtdeclarative/files/qtdeclarative-5.15.2-gcc11.patch b/dev-qt/qtdeclarative/files/qtdeclarative-5.15.2-gcc11.patch new file mode 100644 index 00000000000..c5dd916912d --- /dev/null +++ b/dev-qt/qtdeclarative/files/qtdeclarative-5.15.2-gcc11.patch @@ -0,0 +1,31 @@ +From 543594243ad0006bf4d98998ecfa52b46242f0ed Mon Sep 17 00:00:00 2001 +From: Jeff Law +Date: Oct 16 2020 21:12:18 +0000 +Subject: Fix missing #include for gcc-11 + + +diff --git a/src/qml/jsruntime/qv4regexp.cpp b/src/qml/jsruntime/qv4regexp.cpp +index 76daead8..4f707703 100644 +--- a/src/qml/jsruntime/qv4regexp.cpp ++++ b/src/qml/jsruntime/qv4regexp.cpp +@@ -37,6 +37,7 @@ + ** + ****************************************************************************/ + ++#include + #include "qv4regexp_p.h" + #include "qv4engine_p.h" + #include "qv4scopedvalue_p.h" +diff --git a/src/qmldebug/qqmlprofilerevent_p.h b/src/qmldebug/qqmlprofilerevent_p.h +index a7e37d19..21c3b465 100644 +--- a/src/qmldebug/qqmlprofilerevent_p.h ++++ b/src/qmldebug/qqmlprofilerevent_p.h +@@ -40,6 +40,8 @@ + #ifndef QQMLPROFILEREVENT_P_H + #define QQMLPROFILEREVENT_P_H + ++#include ++ + #include "qqmlprofilerclientdefinitions_p.h" + + #include diff --git a/dev-qt/qtdeclarative/qtdeclarative-5.15.2.ebuild b/dev-qt/qtdeclarative/qtdeclarative-5.15.2.ebuild index 91ee527902f..e4bb580355c 100644 --- a/dev-qt/qtdeclarative/qtdeclarative-5.15.2.ebuild +++ b/dev-qt/qtdeclarative/qtdeclarative-5.15.2.ebuild @@ -30,6 +30,7 @@ RDEPEND="${DEPEND} PATCHES=( "${FILESDIR}/${PN}-5.14.2-QQuickItemView-fix-maxXY-extent.patch" # QTBUG-83890 + "${FILESDIR}/${P}-gcc11.patch" # bug 752093 ) src_prepare() {