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

MacPorts noreply at macports.org
Fri Jul 23 01:57:56 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 kencu):

 leopard and newer have a DARWIN_C_SOURCE override to get around this
 issue; Tiger's headers do not.

 Building on Tiger against the 10.5 SDK would be the easiest way around
 this, but I have not been able to make that work for gcc (try it and
 you'll see why).

 So the best I have come up with is to undefine POSIX_C_SOURCE either
 globally or before including the problem header...

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


More information about the macports-tickets mailing list