[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 Feb 8 22:04:35 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 kencu):

 I was initially thinking to run this particular thing through the
 Portfile:

 1. copy the file into place post-extract maybe
 2. patch it with our normal patch mechanisms
 3. destroot it.

 As we have no buildbot for (most of) these systems, that might be OK...

 we could get fancy and checksum the original header to make sure it's
 virgin...

 But there are other ways, and that is not the only method.

 For the "which" program, I just copied it into the legacysupport repo. We
 could just do that too, if we wanted to KISS....


 Ken

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


More information about the macports-tickets mailing list