[Bug 280716] science/py-scipy: fix build with clang 19

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 09 Aug 2024 17:16:45 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280716

            Bug ID: 280716
           Summary: science/py-scipy: 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: python@FreeBSD.org
          Reporter: dim@FreeBSD.org
          Assignee: python@FreeBSD.org
             Flags: maintainer-feedback?(python@FreeBSD.org)

With clang 19, science/py-scipy fails to build, first due to bug 280715
which is the fault of math/py-numpy. When that is fixed, it next fails
due to a new error indicating a typo:

    In file included from scipy/_lib/_uarray/_uarray_dispatch.cxx:3:
    scipy/_lib/_uarray/small_dynamic_array.h:145:18: error: reference to
non-static member function must be called
      145 |     size_ = copy.size;
          |             ~~~~~^~~~

This is an upstream bug, which has been fixed in the mean time by
https://github.com/scipy/scipy/pull/21069. Add it as a PATCHFILES entry
in the Makefile, until a newer version of py-scipy is imported.

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