[MacPorts] #69676: libdicom @1.1.0_0+universal: error: implicit declaration of function 'close' is invalid in C99

MacPorts noreply at macports.org
Mon Apr 8 13:41:13 UTC 2024


#69676: libdicom @1.1.0_0+universal: error: implicit declaration of function
'close' is invalid in C99
------------------------+----------------------
  Reporter:  conradkun  |      Owner:  bgilbert
      Type:  defect     |     Status:  closed
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.9.3
Resolution:  fixed      |   Keywords:
      Port:  libdicom   |
------------------------+----------------------
Changes (by bgilbert):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"33f8eed6f55e980ef90cb9f02dc64002901e9cdc/macports-ports"
 33f8eed6f55e980ef90cb9f02dc64002901e9cdc/macports-ports] (master):
 {{{
 #!ConfigurableCommitTicketReference repository="macports-ports"
 revision="33f8eed6f55e980ef90cb9f02dc64002901e9cdc"
 libdicom: fix universal build

 Certain Meson checks don't work properly for universal builds, causing
 libdicom to skip including unistd.h and then fail the build on an implicit
 function declaration.  Use muniversal to build each arch separately.

 Fixes: https://trac.macports.org/ticket/69676
 See: https://github.com/ImagingDataCommons/libdicom/pull/86
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/69676#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list