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 E24AC138334 for ; Mon, 4 Feb 2019 18:40:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0D87EE0CAD; Mon, 4 Feb 2019 18:40:28 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 C3B4DE0CAD for ; Mon, 4 Feb 2019 18:40:27 +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 5445C335C8C for ; Mon, 4 Feb 2019 18:40:26 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A75154D3 for ; Mon, 4 Feb 2019 18:40:24 +0000 (UTC) From: "Jimi Huotari" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jimi Huotari" Message-ID: <1549305560.bf2b3bb1663224ea5a711de4be9d972352002d2b.chiitoo@gentoo> Subject: [gentoo-commits] proj/qt:master commit in: dev-qt/qtwebengine/files/, dev-qt/qtwebengine/ X-VCS-Repository: proj/qt X-VCS-Files: dev-qt/qtwebengine/files/qtwebengine-5.13.0-fixup-system-icu.patch dev-qt/qtwebengine/qtwebengine-5.13.9999.ebuild dev-qt/qtwebengine/qtwebengine-5.9999.ebuild X-VCS-Directories: dev-qt/qtwebengine/files/ dev-qt/qtwebengine/ X-VCS-Committer: chiitoo X-VCS-Committer-Name: Jimi Huotari X-VCS-Revision: bf2b3bb1663224ea5a711de4be9d972352002d2b X-VCS-Branch: master Date: Mon, 4 Feb 2019 18:40:24 +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: 1e504fb6-32cd-49f5-b609-4615c2b9b718 X-Archives-Hash: 7d3a342ce4bb0dc33ec08af621ff4edc commit: bf2b3bb1663224ea5a711de4be9d972352002d2b Author: Jimi Huotari gentoo org> AuthorDate: Mon Feb 4 18:38:31 2019 +0000 Commit: Jimi Huotari gentoo org> CommitDate: Mon Feb 4 18:39:20 2019 +0000 URL: https://gitweb.gentoo.org/proj/qt.git/commit/?id=bf2b3bb1 dev-qt/qtwebengine: fix build with USE="system-icu" Package-Manager: Portage-2.3.59, Repoman-2.3.12 Signed-off-by: Jimi Huotari gentoo.org> .../files/qtwebengine-5.13.0-fixup-system-icu.patch | 17 +++++++++++++++++ dev-qt/qtwebengine/qtwebengine-5.13.9999.ebuild | 2 ++ dev-qt/qtwebengine/qtwebengine-5.9999.ebuild | 2 ++ 3 files changed, 21 insertions(+) diff --git a/dev-qt/qtwebengine/files/qtwebengine-5.13.0-fixup-system-icu.patch b/dev-qt/qtwebengine/files/qtwebengine-5.13.0-fixup-system-icu.patch new file mode 100644 index 00000000..e7fb9f81 --- /dev/null +++ b/dev-qt/qtwebengine/files/qtwebengine-5.13.0-fixup-system-icu.patch @@ -0,0 +1,17 @@ +From https://codereview.qt-project.org/#/c/251995/ + +--- a/src/3rdparty/chromium/url/url_idna_icu.cc ++++ b/src/3rdparty/chromium/url/url_idna_icu.cc +@@ -86,8 +86,10 @@ bool IDNToASCII(const base::char16* src, int src_len, CanonOutputW* output) { + while (true) { + UErrorCode err = U_ZERO_ERROR; + UIDNAInfo info = UIDNA_INFO_INITIALIZER; +- int output_length = uidna_nameToASCII(uidna, src, src_len, output->data(), +- output->capacity(), &info, &err); ++ int output_length = uidna_nameToASCII(uidna, ++ reinterpret_cast(src), src_len, ++ reinterpret_cast(output->data()), output->capacity(), ++ &info, &err); + if (U_SUCCESS(err) && info.errors == 0) { + output->set_length(output_length); + return true; diff --git a/dev-qt/qtwebengine/qtwebengine-5.13.9999.ebuild b/dev-qt/qtwebengine/qtwebengine-5.13.9999.ebuild index cff56886..ff148cf7 100644 --- a/dev-qt/qtwebengine/qtwebengine-5.13.9999.ebuild +++ b/dev-qt/qtwebengine/qtwebengine-5.13.9999.ebuild @@ -79,6 +79,8 @@ DEPEND="${RDEPEND} pax_kernel? ( sys-apps/elfix ) " +PATCHES=( "${FILESDIR}/${PN}-5.13.0-fixup-system-icu.patch" ) + src_prepare() { use pax_kernel && PATCHES+=( "${FILESDIR}/${PN}-5.11.2-paxmark-mksnapshot.patch" ) diff --git a/dev-qt/qtwebengine/qtwebengine-5.9999.ebuild b/dev-qt/qtwebengine/qtwebengine-5.9999.ebuild index cff56886..ff148cf7 100644 --- a/dev-qt/qtwebengine/qtwebengine-5.9999.ebuild +++ b/dev-qt/qtwebengine/qtwebengine-5.9999.ebuild @@ -79,6 +79,8 @@ DEPEND="${RDEPEND} pax_kernel? ( sys-apps/elfix ) " +PATCHES=( "${FILESDIR}/${PN}-5.13.0-fixup-system-icu.patch" ) + src_prepare() { use pax_kernel && PATCHES+=( "${FILESDIR}/${PN}-5.11.2-paxmark-mksnapshot.patch" )