Ticket #138 (closed defect: invalid)

Opened 11 months ago

Last modified 11 months ago

libusb-compat-0.1.4 fails to compile against libusbx-1.0.12 (debug function related)

Reported by: ssuominen Owned by:
Milestone: Component: libusb-compat-0.1
Keywords: Cc:
Blocked By: Blocks:

Description

Downstream bug report:

http://bugs.gentoo.org/423135

I'll add a patch (but it has no #ifdef magic, and it should for backwards compability).

Fixed also here (Found this by accident by Google):

http://web.archiveorange.com/archive/v/7gAIOz6h5eQ6JqaE2l4f

By:

sed -i '/enum usbi_log_level/,/}\;$/d' libusb/core.c

Attachments

libusb-0.1-libusbx.patch (349 bytes) - added by ssuominen 11 months ago.
libusbx compability

Download all attachments as: .zip

Change History

Changed 11 months ago by ssuominen

libusbx compability

comment:1 Changed 11 months ago by stuge

  • Resolution set to invalid
  • Status changed from new to closed

Sorry, but this is a bug in libusbx-1.0.12, not in libusb-compat-0.1.4.

The commit that introduced the bug is
http://libusbx.git.sourceforge.net/git/gitweb.cgi?p=libusbx/libusbx;a=commitdiff;h=933a319469bcccc962031c989e39d9d1f44f2885

..which moves the internal enum (hence the usbi_ name) from the internal libusbi.h header file to the external header libusb.h.

Note: See TracTickets for help on using tickets.