[MacPorts] #61868: libusb @1.0.24: cannot parse USB.h with mainline gcc versions due to variant pragma handling not accepted by gcc

MacPorts noreply at macports.org
Tue Feb 16 16:22:24 UTC 2021


#61868: libusb @1.0.24: cannot parse USB.h with mainline gcc versions due to
variant pragma handling not accepted by gcc
-----------------------------------+-----------------------
  Reporter:  dgonyier              |      Owner:  michaelld
      Type:  defect                |     Status:  reopened
  Priority:  Normal                |  Milestone:
 Component:  ports                 |    Version:  2.6.4
Resolution:                        |   Keywords:
      Port:  libusb, libusb-devel  |
-----------------------------------+-----------------------

Comment (by michaelld):

 I just updated the script, which is significantly modified to work more
 robustly. It not plays nicely with various SED on 10.4, 10.5, and 10.12.
 Still needs testing on the other MacOSX / OSX. Works on macOS 11 but
 doesn't get the MAJOR.MINOR correct yet (though that doesn't matter since
 the header doesn't need patching).

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


More information about the macports-tickets mailing list