[MacPorts] #56156: libusb @1.0.22: build fails on 10.7.5: error: use of undeclared identifier 'kUSBDeviceSpeedSuper' (was: libusb at 1.0.22: build fails on 10.7.5 : error: use of undeclared identifier 'kUSBDeviceSpeedSuper')

MacPorts noreply at macports.org
Tue Mar 27 07:12:20 UTC 2018


#56156: libusb @1.0.22: build fails on 10.7.5: error: use of undeclared identifier
'kUSBDeviceSpeedSuper'
---------------------+---------------------------
  Reporter:  kencu   |      Owner:  michaelld
      Type:  defect  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:
Resolution:          |   Keywords:  haspatch lion
      Port:  libusb  |
---------------------+---------------------------
Changes (by ryandesign):

 * cc: ryandesign (added)
 * keywords:  haspatch => haspatch lion


Comment:

 I already reported the problem to the developers:
 https://github.com/libusb/libusb/issues/410

 The correct patch is to change `#if MAC_OS_X_VERSION_MAX_ALLOWED >= 1070`
 to `#if MAC_OS_X_VERSION_MAX_ALLOWED >= 1080`.

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


More information about the macports-tickets mailing list