From nobody Sat Aug 10 11:49:22 2024 X-Original-To: gnome@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 4Wgzb71ThZz5SgxQ for ; Sat, 10 Aug 2024 11:49:23 +0000 (UTC) (envelope-from bugzilla-noreply@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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Wgzb662VZz41Sb for ; Sat, 10 Aug 2024 11:49:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1723290562; a=rsa-sha256; cv=none; b=a2SVwT2HlZ+mAeXabLOrVaI3BBl8X5roB7AH273o+907aJNJF8azs+mwLj3TCFpWTm+mcC K7+9Be5XnLnU7/YZLQ4TNpwW3QPg1DVHDIJzLTQBrvK9pplYPeMMAse3qnBXQvI6xJYhOS +0ct9pkuAuYvMd2ufnsImVbnUshab+2JcsB7pLOTEJ7p2IncWpzgrg5sE0/h/c24eOktWk NadorBNyhP6eK3GGgmQ/b1eIm7ym1wbz/rMG5+w+V+nkhYiYDtnWF8pjknBW6xvBUfQLUP AopFzjpWadnDlJ/tg5Tr0+0DTXOe/tXnEVEPgvVPjXWIy3vqY0515LuCJxyLqg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1723290562; 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=iAAxpGZ4lFCoYw99pMadQ1c08QgxsGj2+UACcuvf1N8=; b=LXQeSY9tdfXf5OdiY9K+XNgDjtOb8u58P89z37jaHyKPCGNaPja3mP5XaiS+FklzAZKA55 5fLgzPCaxPzpknH0v/mBzb2ZrHQeaGbw0UPLdJNOk0n88gD3aaxtjea9bIM7a4U4guzh/e GKi3fZiDITXGkOa24w/1dhcSqPIX54eBsmQWhe8wCUrmnWMmgimY01g3C4hsAXKHSmv1Fh KttOxU/5CRS4yMqJmB8AK3lxAaKLj2sFUXMwr97QdHzNR7iOQsDO8j6OVNj6l4DkNjz0tK wBuusFu/dxDrthTgBj5R+uvcSZFJLdsidFiBygnUDoi39vsCk9soNH7gA+FhfQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 4Wgzb65ZbCzyyk for ; Sat, 10 Aug 2024 11:49:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 47ABnMF1096273 for ; Sat, 10 Aug 2024 11:49:22 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 47ABnMwt096272 for gnome@FreeBSD.org; Sat, 10 Aug 2024 11:49:22 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: gnome@FreeBSD.org Subject: [Bug 280728] www/webkit2-gtk3: fix build with clang 19 Date: Sat, 10 Aug 2024 11:49:22 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: dim@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: gnome@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: GNOME for FreeBSD -- porting and maintaining List-Archive: https://lists.freebsd.org/archives/freebsd-gnome List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-gnome@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D280728 Bug ID: 280728 Summary: www/webkit2-gtk3: fix build with clang 19 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: gnome@FreeBSD.org Reporter: dim@FreeBSD.org Flags: maintainer-feedback?(gnome@FreeBSD.org) Assignee: gnome@FreeBSD.org Clang 19 now implements CWG 96 [1], which requires a template argument list after a 'template' keyword, resulting in errors similar to: =20=20=20 /wrkdirs/usr/ports/www/webkit2-gtk3/work/webkitgtk-2.34.6/Source/JavaScript= Core/assembler/AbstractMacroAssembler.h:974:65: error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw] 974 | AssemblerType::repatchCompact(dataLabelCompact.template dataLocation(), value); | = ^ In these cases, appending "<>" is enough to satisfy the constraint. Upstream has committed a fix to their main branch [2], but since some code has moved around, and other functions have been removed, it does not apply cleanly to 2.34.6. Therefore, apply only the necessary fixes manually for now. [1] https://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#96 [2] https://github.com/WebKit/WebKit/commit/62b6e2db547e --=20 You are receiving this mail because: You are the assignee for the bug.=