[MacPorts] #62997: htop @3.0.5_0: Unable to build on 10.4 Tiger ppc

MacPorts noreply at macports.org
Thu Jul 22 16:49:13 UTC 2021


#62997: htop @3.0.5_0: Unable to build on 10.4 Tiger ppc
----------------------+------------------------
  Reporter:  Sinccis  |      Owner:  neverpanic
      Type:  defect   |     Status:  assigned
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.7.1
Resolution:           |   Keywords:  tiger ppc
      Port:  htop     |
----------------------+------------------------

Comment (by evanmiller):

 It looks like {{{u_char}}} and friends aren't being defined. Tiger's
 {{{<sys/types.h>}}} has:

 {{{
 #ifndef _POSIX_C_SOURCE
 typedef unsigned char       u_char;
 typedef unsigned short      u_short;
 typedef unsigned int        u_int;
 ...
 }}}

 I suspect that {{{_POSIX_C_SOURCE}}} is getting defined during the
 compilation via {{{-D_XOPEN_SOURCE=600}}}, which the {{{typedef}}}s above
 from being included.

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


More information about the macports-tickets mailing list