[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
Mon Dec 28 02:01:49 UTC 2020


#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):

 Replying to [comment:19 kencu]:
 > I'm thinking we copy gcc's fixincludes methodology, copying in the
 header that needs tweaking during the installation/activation of
 legacysupport and then applying a patch to it.
 >
 > How does that sound?

 I like this idea! I'm guessing this would work much better than trying to
 create a generic multi-OS version of `USB.h` .. though that could be done
 if this method proves too arduous!

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


More information about the macports-tickets mailing list