[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 9 17:30:03 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):
true ... but for this specific issue, it's a max of 1 header regardless of
the OSX / MacOSX / macOS version. It's easy to test for & determine
whether it is required (via a "grep" of the header for the pragma line),
and that single line can be patched via a "sed" script (not a patch since
that's not reliable across versions of that same file I'm pretty sure) ...
again: I'll give this a go when I get a chance (soon hopefully) to see how
complicated & reliable it is. yes: blah blah blah ... :)
--
Ticket URL: <https://trac.macports.org/ticket/61868#comment:36>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list