libusb-compat: updated to version 0.1.5.

This commit is contained in:
Ricardo Martins 2015-09-28 10:52:45 +01:00
parent b42267f548
commit d269ef392c
2 changed files with 3 additions and 21 deletions

View File

@ -1,6 +1,6 @@
version=\
(
'0.1.4'
'0.1.5'
)
url=\
@ -10,7 +10,7 @@ url=\
md5=\
(
'2ca521fffadd0c28fdf174e6ec73865b'
'2780b6a758a1e2c2943bdbf7faf740e4'
)
maintainer=\
@ -20,7 +20,7 @@ maintainer=\
requires=\
(
'libusbx/default'
'libusb/default'
)
post_unpack()

View File

@ -1,18 +0,0 @@
diff -Nru libusb-compat-0.1.4/libusb/core.c libusb-compat-0.1.4.rasm/libusb/core.c
--- libusb-compat-0.1.4/libusb/core.c 2012-04-24 06:37:34.000000000 +0100
+++ libusb-compat-0.1.4.rasm/libusb/core.c 2012-08-07 01:45:40.251527822 +0100
@@ -32,12 +32,14 @@
static libusb_context *ctx = NULL;
static int usb_debug = 0;
+#if 0
enum usbi_log_level {
LOG_LEVEL_DEBUG,
LOG_LEVEL_INFO,
LOG_LEVEL_WARNING,
LOG_LEVEL_ERROR,
};
+#endif
#ifdef ENABLE_LOGGING
#define _usbi_log(level, fmt...) usbi_log(level, __FUNCTION__, fmt)