[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 14:15:46 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):

 Hmmm ... my vote is to keep everything LegacySupport need to do with
 itself, so that if somebody for some reason wants to install it separately
 from MP and use it then that’s an option. Moving code into the Portfile
 means it’s only available within MP ... makes the code almost trivial, but
 at the same time it’s means LegacySupport itself is not complete. It
 shouldn’t be difficult to augment the Makefile to run a “fixincludes”
 section that does this task robustly. Let me give this a go & report
 back.!

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


More information about the macports-tickets mailing list