From nobody Wed Oct 30 08:41:42 2024 X-Original-To: dev-commits-ports-all@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 4XdgbB3MXcz5bwYv; Wed, 30 Oct 2024 08:41:42 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XdgbB2wgZz4DKG; Wed, 30 Oct 2024 08:41:42 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730277702; 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=0SpTJ9KcfkR4ptIlngLRpCwSN0ZQb35hIAZ6RgX6O0I=; b=W/Dd7vfKh/Xpr8/CL43hmidyVOF5C03u2AYcKIOU7BiMVdBRW8hnD92CIINQqp6qB0uaLO Ed5LdFvWPibOCE6IN/PKvLnCv6FGM0PTp6cl8V/46OKsmr4/grWIHuwhup2633gAQwy/Xa DKf7oEqDlrJzEM1JIBaLOpDeMc025b8JTC7pCU0+DBKQumn8KLIf/sVgHZ3LQhWx6GJh0T dlDAnf73qcIW+Cj9fH7Zem8zRAd/0BJRC/3HZFzCqesX54wMIEuc+lWK71L7cNTfoRHRuT tc1ijZ8NYy5ocnM7fYMmwDEPdL4LfYh8lbaXigPhnjcdK3EsTkzSDMeE5e2iHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730277702; 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=0SpTJ9KcfkR4ptIlngLRpCwSN0ZQb35hIAZ6RgX6O0I=; b=S82wL4ubxv/A3xNAZBeL0D6IUsO5/9kubwjiGFt/lILKP7OapZ1OMsGL6PxWhYjiiGCTZ0 ACX0o7aLEwTnMALh14fsrAVrH/VKnp9D3YSbQwKIpP9gizAGMIY9/IwTILpfVLgmsVlXKH h80Ms3yw0nbqksyhlpXwUIrFoSWSrApVC+hHm6r12RZ5qWXHB3UC9UmKYe9Dt3lA84Qo55 FpzHb94MzIr2uGwZc4GCKssTeVZPbwcOBKvd3qVpY2cyDp4vxTyHAfew4/EyT/GT8a7e4I GcEwYwPOXGNSWR89CDevCTvocUkB/DQWqL9orfT7qIXjibEa8NUGWthredLYAg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730277702; a=rsa-sha256; cv=none; b=EeO5YlTjEOOL09BohWFuqiw2h7UQWOtERnn/9lGgdwoFgQrRwtnjl6KmZMnS19wkiR614M EMo/V6EaDtL5yZvVCOpDq7McYUPuJvdtpLFAXoz+KUxx6yia17AYsXaxzMMQoGSHUcuz1p eZTMFC1rTVpu1DggQowQH74u7dSKypizSytUWWTiF6z6f6mBB7w1WVKu+BzfmIrR4HJXot PC65mMpkJ0xyPOt7GO95HkiHolFRwlApQVTsO1nTKBekn8CIEjYi+G45MIguODn7Hl2ZTk TvZwwcQ9KDKUAwKKoBm6qyHNPafJw3fLFBY6JkNhT4RKLUvVYMO024z8vt1hMA== 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 4XdgbB2X4Wz1102; Wed, 30 Oct 2024 08:41:42 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 49U8fgbj073838; Wed, 30 Oct 2024 08:41:42 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49U8fg80073835; Wed, 30 Oct 2024 08:41:42 GMT (envelope-from git) Date: Wed, 30 Oct 2024 08:41:42 GMT Message-Id: <202410300841.49U8fg80073835@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: "Jason E. Hale" Subject: git: f812d021d79f - main - science/step: Fix build with LLVM >= 19.1.0-rc1 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhale X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f812d021d79f6a4034640eece6b7ae1b32df21a0 Auto-Submitted: auto-generated The branch main has been updated by jhale: URL: https://cgit.FreeBSD.org/ports/commit/?id=f812d021d79f6a4034640eece6b7ae1b32df21a0 commit f812d021d79f6a4034640eece6b7ae1b32df21a0 Author: Jason E. Hale AuthorDate: 2024-10-30 06:43:09 +0000 Commit: Jason E. Hale CommitDate: 2024-10-30 08:40:48 +0000 science/step: Fix build with LLVM >= 19.1.0-rc1 Clang >= 19.1.0-rc1 requires a template argument list after an identifier prefixed by the template keyword. [1] /wrkdirs/usr/ports/science/step/work/step-23.08.5/stepcore/object.h:252:45: error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw] 252 | if(!src || !src->metaObject()->template inherits(_Dst())) return NULL; [1] https://github.com/llvm/llvm-project/commit/f46d1463b835560d90ad3ac02b63c771e4ebe566 Reported by: pkg-fallout MFH: 2024Q2 --- science/step/files/patch-stepcore_object.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/science/step/files/patch-stepcore_object.h b/science/step/files/patch-stepcore_object.h new file mode 100644 index 000000000000..5b2f47415a27 --- /dev/null +++ b/science/step/files/patch-stepcore_object.h @@ -0,0 +1,21 @@ +Clang >= 19.1.0-rc1 requires a template argument list after an identifier +prefixed by the template keyword. [1] + +/wrkdirs/usr/ports/science/step/work/step-23.08.5/stepcore/object.h:252:45: +error: a template argument list is expected after a name prefixed by the +template keyword [-Wmissing-template-arg-list-after-template-kw] + 252 | if(!src || !src->metaObject()->template inherits(_Dst())) return NULL; + +[1] https://github.com/llvm/llvm-project/commit/f46d1463b835560d90ad3ac02b63c771e4ebe566 + +--- stepcore/object.h.orig 2024-02-10 03:35:30 UTC ++++ stepcore/object.h +@@ -249,7 +249,7 @@ _Dst stepcore_cast(_Src src) { + /** Casts between pointers to Object */ + template // XXX: implement it better + _Dst stepcore_cast(_Src src) { +- if(!src || !src->metaObject()->template inherits(_Dst())) return NULL; ++ if(!src || !src->metaObject()->template inherits<_Dst>(_Dst())) return NULL; + return static_cast<_Dst>(src); + } +