summaryrefslogtreecommitdiffstats
path: root/libusb-compat/libusb-0.1-libusbx.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libusb-compat/libusb-0.1-libusbx.patch')
-rw-r--r--libusb-compat/libusb-0.1-libusbx.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/libusb-compat/libusb-0.1-libusbx.patch b/libusb-compat/libusb-0.1-libusbx.patch
new file mode 100644
index 000000000..221c6dee5
--- /dev/null
+++ b/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)