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

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 18 Nov 2024 17:11:36 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282851

            Bug ID: 282851
           Summary: math/gfan: 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: ports-bugs@FreeBSD.org
          Reporter: dim@FreeBSD.org
                CC: moritz@schmi.tt
             Flags: maintainer-feedback?(moritz@schmi.tt)
                CC: moritz@schmi.tt

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.

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