[MacPorts] #62618: dav1d @0.8.2: build fails on leopard PPC (at least) with several errors

MacPorts noreply at macports.org
Sun Apr 4 01:14:01 UTC 2021


#62618: dav1d @0.8.2: build fails on leopard PPC (at least) with several errors
---------------------+---------------------------
  Reporter:  kencu   |      Owner:  ctreleaven
      Type:  defect  |     Status:  assigned
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:
Resolution:          |   Keywords:  leopard tiger
      Port:  dav1d   |
---------------------+---------------------------

Comment (by kencu):

 well, success:
 {{{
 $ port -v installed dav1d
 The following ports are currently installed:
   dav1d @0.8.2_0 (active) platform='darwin 9' archs='ppc'
 date='2021-04-03T18:08:16-0700'
 }}}

 but -- there is some kind of a problem with legacysupport, it appears.
 {{{u_int32_t}}} is supposed to be defined when {{{stdlib.h}}} has run
 through it's various headers, but it is not being defined, for reasons
 that I am as yet not clear on.

 I added a manual definition in legacysupport's stdlib.h to make it work,
 but that is not supposed to be needed, so there is some kind of an issue.
 In:
 {{{
 /opt/local/include/LegacySupport/stdlib.h
 }}}
 I added this:
 {{{
   #endif /*__ENABLE_MP_LEGACY_SUPPORT_REALPATH_WRAP__*/
 + typedef       unsigned int            u_int32_t;
   /* Include the primary system stdlib.h */
   #include_next <stdlib.h>
 }}}

 and the build succeeded.

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


More information about the macports-tickets mailing list