[Bug 281868] graphics/embree: fix build with clang 19

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 05 Oct 2024 14:26:52 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281868

            Bug ID: 281868
           Summary: graphics/embree: 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: danfe@FreeBSD.org
          Reporter: dim@FreeBSD.org
             Flags: maintainer-feedback?(danfe@FreeBSD.org)
          Assignee: danfe@FreeBSD.org

Clang 19 has become more strict about errors in member functions, which
results in errors building graphics/embree:

 
/wrkdirs/usr/ports/graphics/embree/work/embree-3.13.5/kernels/geometry/../common/../subdiv/bezier_curve.h:138:56:
error: no member named 'u' in 'QuadraticBezierCurve<V>'
    138 |         return cout << "QuadraticBezierCurve ( (" << a.u.lower << ",
" << a.u.upper << "), " << a.v0 << ", " << a.v1 << ", " << a.v2 << ")";
        |                                                      ~ ^
 
/wrkdirs/usr/ports/graphics/embree/work/embree-3.13.5/kernels/geometry/../common/../subdiv/bezier_curve.h:138:77:
error: no member named 'u' in 'QuadraticBezierCurve<V>'
    138 |         return cout << "QuadraticBezierCurve ( (" << a.u.lower << ",
" << a.u.upper << "), " << a.v0 << ", " << a.v1 << ", " << a.v2 << ")";
        |                                                                      
    ~ ^

Upstream fixed this for https://github.com/RenderKit/embree/issues/486
in https://github.com/RenderKit/embree/commit/cda4cf191, so add a
PATCHFILES entry for it.

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