diff options
Diffstat (limited to 'abs/core/libusb-compat/libusb-0.1-libusbx.patch')
-rw-r--r-- | abs/core/libusb-compat/libusb-0.1-libusbx.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/abs/core/libusb-compat/libusb-0.1-libusbx.patch b/abs/core/libusb-compat/libusb-0.1-libusbx.patch new file mode 100644 index 0000000..6156365 --- /dev/null +++ b/abs/core/libusb-compat/libusb-0.1-libusbx.patch @@ -0,0 +1,17 @@ +http://bugs.gentoo.org/423135 + +--- libusb/core.c ++++ libusb/core.c +@@ -32,12 +32,6 @@ + static libusb_context *ctx = NULL; + static int usb_debug = 0; + +-enum usbi_log_level { +- LOG_LEVEL_DEBUG, +- LOG_LEVEL_INFO, +- LOG_LEVEL_WARNING, +- LOG_LEVEL_ERROR, +-}; + + #ifdef ENABLE_LOGGING + #define _usbi_log(level, fmt...) usbi_log(level, __FUNCTION__, fmt) |