[MacPorts] #48471: FSF gcc48 fails to compile projects on El Capitan due to OS X SDK bug in Availability.h

MacPorts noreply at macports.org
Mon Mar 14 10:20:34 PDT 2016


#48471: FSF gcc48 fails to compile projects on El Capitan due to OS X SDK bug in
Availability.h
-----------------------+--------------------------------
  Reporter:  jasonw@…  |      Owner:  mww@…
      Type:  defect    |     Status:  reopened
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.3.3
Resolution:            |   Keywords:  elcapitan haspatch
      Port:  gcc48     |
-----------------------+--------------------------------

Comment (by russellhanson@…):

 In case anyone was curious what the diff looks like here:

 $ diff ~/usr-include-Availability-bak.h /usr/include/Availability.h
 133a134,135
 > #define __MAC_10_11_3       101103
 > #define __MAC_10_11_4       101104
 159a162
 > #define __IPHONE_9_3     90300
 163a167
 > #define __TVOS_9_2       90200
 224c228
 < #if defined(__has_feature)
 ---
 > #if defined(__has_attribute)
 246c250
 < #if defined(__has_feature)
 ---
 > #if defined(__has_attribute)

-- 
Ticket URL: <https://trac.macports.org/ticket/48471#comment:111>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list