[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
Sun Feb 14 02:24:38 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):

 OK so after playing around with this fixincludes concept, it's certainly
 doable, and robustly ... but we don't want to do it inside the Makefile:
 just too much code. So I'm proposing a new Makefile entry for
 "fixincludes:" which requires nothing and executes shell scripts for each
 task. This seems like a reasonable way to go about doing this. We might
 consider some common code down the road, but I'd guess the first few
 fixincludes will just get the job done. I'll hopefully get a PR in place
 in the next few days.

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


More information about the macports-tickets mailing list