From nobody Wed Dec 04 20:23:18 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 4Y3TVb1swyz5g8Jn; Wed, 04 Dec 2024 20:23:19 +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 4Y3TVb02rdz4D9Q; Wed, 4 Dec 2024 20:23:19 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1733343799; 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=63BPha5f+FjdWpI58NZ4OSde3g1y0S8apkRYypVuTXw=; b=tpTkgislpdcZua2xX3bHpvuYXOTGIoWFi/EfkLiHyRCP/J9O/VmROaRQjnPw5xAcupySol k+FbpfV/mIOlZgtZRxjVPWKM9jG2NRCURJYZktF2OX72U5ZcRKnURCBcwNSfdiqg7GHKZu Nt1ZFMST+TlcJAS15Gvise1o7Q051tGf1dCBlrL76NTO8M0GQiOu8fwnRGkDjm4GxSUG8f 86kJH24BpdY6/I14zwPi3T5MZuaSaRLIwsl3GPVZbNCMe2wqFUyqqadoAKOceQ1FlZ7XNW ojrlLIef0I9VLCazHzMyLTTjKhaGJV0TeO5YZd7dChK84X9ZYmQtnHjCd3jqPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1733343799; 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=63BPha5f+FjdWpI58NZ4OSde3g1y0S8apkRYypVuTXw=; b=hK7WyXz/MDz9qMNM2loFfpDRjhyY5kY+Fc5Z/QUplhqAzA+c+lMyo8Z7SgtTZ9Cg1+MnW0 8eViR1AWu2NNJ+XVtOEbWcfhfbuIva+oJnikBfX6SJJN+hwfj/Hi88pLHxzV8sHW4NiQq0 cmebv0U1hML55vwMMJ0cwqZX9d8idx267cnH+IiCP94+Sqo82X5X1rUS3GyqZws+sQ7BHJ y/zQdMT6lLjte8q9fOSV4nDnQOS6wBTNED7DqtHRvkUpKMqemidzes3WMBNKqtlTxM7Har DVGUDzxCVeG3cMkU+qxFn961Ep21YvNIoerYv+LRRZqxCP4pFQ6Tq1iauDyiTg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1733343799; a=rsa-sha256; cv=none; b=XhhzrZvZm1YT+8NbQRs079LSu+a+WfXY2nKbeHIQvTxrgBNSxOgqSSx7q68oS7jnsOZhZY CCiEN8VQ9sxi3784hTK2FLdLFSIMR0enwwAXs3Yvmc/tc4CHpQn26zdy6+QlHG4vcsvNJk 6S3ghFXNjg951ybMjFnF/K4lzwfxoG1r5jVebXh06/MOZleJVh+cjABiEZrzmM6+iJ9tgt /vYAzAj1HhiHRoNgOUxZTM716eDLVilkXEZD0qFKlEZSlQ2lUg6v2zjODbORX22wz1jdpz RrdSPwbMmxHwcRtzIkzic38STNHxXGQZRrSl16srAj0iGLkaJVlpbATk5ClZig== 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 4Y3TVZ6mGqzLyF; Wed, 4 Dec 2024 20:23:18 +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 4B4KNIdp082915; Wed, 4 Dec 2024 20:23:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4B4KNIsD082912; Wed, 4 Dec 2024 20:23:18 GMT (envelope-from git) Date: Wed, 4 Dec 2024 20:23:18 GMT Message-Id: <202412042023.4B4KNIsD082912@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: 9020eeb540c2 - main - math/gfan: fix build with clang 19 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: dim X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 9020eeb540c2246c678a06098b916282e7251c11 Auto-Submitted: auto-generated The branch main has been updated by dim: URL: https://cgit.FreeBSD.org/ports/commit/?id=9020eeb540c2246c678a06098b916282e7251c11 commit 9020eeb540c2246c678a06098b916282e7251c11 Author: Dimitry Andric AuthorDate: 2024-11-18 12:43:25 +0000 Commit: Dimitry Andric CommitDate: 2024-12-04 20:22:19 +0000 math/gfan: fix build with clang 19 Clang 19 has become more strict about errors in member functions, which results in errors building math/gfan: src/gfanlib_matrix.h:123:18: error: no member named 'vectormultiply' in 'Matrix' 123 | ret[i]=a.vectormultiply(b.column(i)); | ~ ^ The `vectormultiply` method has been commented out by upstream for unknown reasons, but the `operator*` method that references it is also never used, so stub it out. PR: 282851 Approved by: maintainer timeout (2 weeks) MFH: 2024Q4 --- math/gfan/files/patch-src_gfanlib__matrix.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/math/gfan/files/patch-src_gfanlib__matrix.h b/math/gfan/files/patch-src_gfanlib__matrix.h new file mode 100644 index 000000000000..68aa9e1afa0c --- /dev/null +++ b/math/gfan/files/patch-src_gfanlib__matrix.h @@ -0,0 +1,18 @@ +--- src/gfanlib_matrix.h.orig 2017-06-20 14:47:37 UTC ++++ src/gfanlib_matrix.h +@@ -115,6 +115,7 @@ template class Matrix{ (public) + p[i][j]=s*(q[i][j]); + return p; + } ++#if 0 + friend Matrix operator*(const Matrix& a, const Matrix& b) + { + assert(a.width==b.height); +@@ -123,6 +124,7 @@ template class Matrix{ (public) + ret[i]=a.vectormultiply(b.column(i)); + return ret.transposed(); + } ++#endif + /* template + Matrix(const Matrix& c):v(c.size()){ + for(int i=0;i