From nobody Tue Feb 15 18:20:27 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 63A3619D455C; Tue, 15 Feb 2022 18:20:28 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JyqC02Lwqz4dXX; Tue, 15 Feb 2022 18:20:28 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644949228; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=l1yfkfUBXMXyEjHm07TcYx2Ge4xVY/wUX07fT2tSL4M=; b=QPrp2LHySF6Tr0NLyX9vMP2aIxJyG3irpPIHIebMFoV1BNjI2LzaUz6B7swDUz5WkyiqdQ xT7cBczjHwF4qXMv/+NbxU0TrcJbgcu+Q8Npzw466HjrYHW/QxJ4dSOWcpzq74W9ptLWDa PZyPd6RzduYbqzRvQuzIAkdYbk+LWqYHOqA+cN/uveY2iJGytQWrryMOCZ1ZiWPXlA9gRA Isz5Hsfix5aiGU2TTzv/bGuy0CgDwMC7e7pl1uokxfPVU23I97Cq2rFSLpjFYVtfZ+imZR y09Qys1voSMUQFt68y8pS4k0clqZN+iM3m8ojJNR3RalK6A/vTnmcoK99MPFtg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 21D7F26EAB; Tue, 15 Feb 2022 18:20:28 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 21FIKSMe056701; Tue, 15 Feb 2022 18:20:28 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 21FIKRrm056700; Tue, 15 Feb 2022 18:20:27 GMT (envelope-from git) Date: Tue, 15 Feb 2022 18:20:27 GMT Message-Id: <202202151820.21FIKRrm056700@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dimitry Andric Subject: git: 0825e7bc64e4 - main - www/qt5-webengine: fix build with clang 14 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dim X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 0825e7bc64e47d87e1f1026cc80c933550f114f5 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644949228; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=l1yfkfUBXMXyEjHm07TcYx2Ge4xVY/wUX07fT2tSL4M=; b=rgq9lPprPYWcR5zhNnDRGY5LKpUNb8DN8faJC6TnETs1Vxkyv/qu/AqZm/sgsEEYyMMyIa qzSrbp1U8gV0DsAB8tG9kDvASSon6UCt1vmnCMqo3/hchb5EHQez5hHds0uz5bh8ZBM4pf ZZtzcR5fkIvi79/UDRbCyaapQB1cDv7a8sDrso1LGlFxPn4diPnO3EJTDZfvuoDpSL7RQ4 pGcD/11EXUICuXeTfUGF2xHD6pFKyG40iyzaAk0BcPgtBwkzREmNEhSaWA0T1ShRhZkda5 KwSOYVWU1qPnA1nPScOqdO7trA1yiJu9ib2piba90zrYZqcgYNi4ZNavtioKvA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1644949228; a=rsa-sha256; cv=none; b=QJ2fN4JPpgk9d2SX/UdnVqB5V2q1gLF3brcjjzMn9GCGiafYr5rfbDp+PXSj4AhcpIYUMS KvJ/LwcXngA1Yax8wkvqGsGaIg9tyQpmLAymdm7XrvlUnULfaEpSvsb8VFJfim/jvftEoq 37n0rUKrCgfYxjvahvpn1cBYDgGo0QNosiq7Jo9tfvww26bTsBnm4hFGMkj9kah/jXmW9Y g2rpbwSmerJd8kYn6x5LUEmkX9rEOtX38fj6Nd3Hw8FVp1uWZjwWnFr6VYxjX5hyzW5MrO lQh/keVYnkjm8o/38yA+RSqfPCrSoXn6OyyIgV4+5/Xb4AZJpK4kVgXZlXIhQg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by dim (src committer): URL: https://cgit.FreeBSD.org/ports/commit/?id=0825e7bc64e47d87e1f1026cc80c933550f114f5 commit 0825e7bc64e47d87e1f1026cc80c933550f114f5 Author: Dimitry Andric AuthorDate: 2022-02-14 12:55:25 +0000 Commit: Dimitry Andric CommitDate: 2022-02-15 18:19:54 +0000 www/qt5-webengine: fix build with clang 14 Fixes compile error: In file included from gen/third_party/blink/renderer/platform/platform_jumbo_63.cc:8: ./../../../../qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/platform/text/text_break_iterator_icu.cc:122:15: error: anonymous non-C-compatible type given name for linkage purposes by typedef declaration after its linkage was computed; add a tag name here to establish linkage prior to definition typedef struct { ^ UTextWithBuffer ./../../../../qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/platform/text/text_break_iterator_icu.cc:123:3: note: type is not C-compatible due to this member declaration DISALLOW_NEW(); ^~~~~~~~~~~~~~ ../../../../qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/platform/wtf/allocator/allocator.h:40:2: note: expanded from macro 'DISALLOW_NEW' public: \ ^~~~~~~ ./../../../../qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/platform/text/text_break_iterator_icu.cc:126:3: note: type is given name 'UTextWithBuffer' for linkage purposes by this typedef declaration } UTextWithBuffer; ^ PR: 261949 Approved by: adridg (maintainer) MFH: 2022Q1 --- ..._renderer_platform_text_text__break__iterator__icu.cc | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/www/qt5-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_text_text__break__iterator__icu.cc b/www/qt5-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_text_text__break__iterator__icu.cc new file mode 100644 index 000000000000..b6e3b69182c8 --- /dev/null +++ b/www/qt5-webengine/files/patch-src_3rdparty_chromium_third__party_blink_renderer_platform_text_text__break__iterator__icu.cc @@ -0,0 +1,16 @@ +--- src/3rdparty/chromium/third_party/blink/renderer/platform/text/text_break_iterator_icu.cc.orig 2020-11-07 01:22:36 UTC ++++ src/3rdparty/chromium/third_party/blink/renderer/platform/text/text_break_iterator_icu.cc +@@ -119,11 +119,11 @@ enum TextContext { kNoContext, kPriorContext, kPrimary + + const int kTextBufferCapacity = 16; + +-typedef struct { ++struct UTextWithBuffer { + DISALLOW_NEW(); + UText text; + UChar buffer[kTextBufferCapacity]; +-} UTextWithBuffer; ++}; + + static inline int64_t TextPinIndex(int64_t& index, int64_t limit) { + if (index < 0)