Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Aug 2024 19:17:09 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 280737] databases/sfcgal: fix build with clang 19
Message-ID:  <bug-280737-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D280737

            Bug ID: 280737
           Summary: databases/sfcgal: 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: lbartoletti@FreeBSD.org
          Reporter: dim@FreeBSD.org
             Flags: maintainer-feedback?(lbartoletti@FreeBSD.org)
          Assignee: lbartoletti@FreeBSD.org

Clang 19 now diagnoses incorrect member accesses, which causes
databases/sfcgal to fail with errors similar to:

=20=20=20
/wrkdirs/usr/ports/databases/sfcgal/work/CGAL-5.6.1/include/CGAL/boost/grap=
h/iterator.h:219:22:
error: no member named 'base' in 'Halfedge_around_source_iterator<Graph>'
      219 |     return (! (this->base() =3D=3D nullptr));
          |                ~~~~  ^
=20=20=20
/wrkdirs/usr/ports/databases/sfcgal/work/CGAL-5.6.1/include/CGAL/boost/grap=
h/iterator.h:313:22:
error: no member named 'base' in 'Halfedge_around_target_iterator<Graph>'
      313 |     return (! (this->base() =3D=3D nullptr));
          |                ~~~~  ^
=20=20=20
/wrkdirs/usr/ports/databases/sfcgal/work/CGAL-5.6.1/include/CGAL/boost/grap=
h/iterator.h:405:22:
error: no member named 'base' in 'Halfedge_around_face_iterator<Graph>'
      405 |     return (! (this->base() =3D=3D nullptr));
          |                ~~~~  ^

Upstream fixed this in https://github.com/CGAL/cgal/commit/0de060acd68
but it does not apply easily due to some changed context. Add a
backported patch instead.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-280737-7788>