[Bug 280865] graphics/dcmtk: fix build with clang 19

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

            Bug ID: 280865
           Summary: graphics/dcmtk: 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: yuri@freebsd.org
          Reporter: dim@FreeBSD.org
          Assignee: yuri@freebsd.org
             Flags: maintainer-feedback?(yuri@freebsd.org)

Clang 19 now diagnoses incorrect member accesses, which causes
graphics/dcmtk to fail with a errors similar to:

   
/wrkdirs/usr/ports/graphics/dcmtk/work/dcmtk-DCMTK-3.6.8/ofstd/include/dcmtk/ofstd/ofutil.h:79:18:
error: no member named 'pt' in 'OFrvalue_storage<T, >'
       79 |         : t( rhs.pt ) {}
          |              ~~~ ^

Upstream dcmtk fixed this by changing the affected copy constructor in
https://github.com/DCMTK/dcmtk/commit/c29bebcd1, so pull this in as a
patch and apply it.

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