[Bug 282851] math/gfan: fix build with clang 19

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 04 Dec 2024 20:26:51 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282851

--- Comment #3 from commit-hook@FreeBSD.org ---
A commit in branch 2024Q4 references this bug:

URL:
https://cgit.FreeBSD.org/ports/commit/?id=2ec8449f67d4063267ae64a60b1ade3a6e5ddf7c

commit 2ec8449f67d4063267ae64a60b1ade3a6e5ddf7c
Author:     Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2024-11-18 12:43:25 +0000
Commit:     Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2024-12-04 20:24:26 +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<typ>'
        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

    (cherry picked from commit 9020eeb540c2246c678a06098b916282e7251c11)

 math/gfan/files/patch-src_gfanlib__matrix.h (new) | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

-- 
You are receiving this mail because:
You are the assignee for the bug.