diff options
author | Kevin Lo <kevlo@FreeBSD.org> | 2013-08-01 10:05:27 +0000 |
---|---|---|
committer | Kevin Lo <kevlo@FreeBSD.org> | 2013-08-01 10:05:27 +0000 |
commit | 468d53e35195f828497b1d40abc35f3c0257389c (patch) | |
tree | 0d5de5944c3630f0e6e9df0a0b0b62e885532a0f /devel/android-tools-adb/files/patch-usb_libusb.c | |
parent | sysutils/moreutils-parallel: Update to 0.49 (diff) |
Import Android adb tool.
Android Debug Bridge (adb) is a versatile command line tool that
lets you communicate with an emulator instance or connected
Android-powered device.
Diffstat (limited to 'devel/android-tools-adb/files/patch-usb_libusb.c')
-rw-r--r-- | devel/android-tools-adb/files/patch-usb_libusb.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/android-tools-adb/files/patch-usb_libusb.c b/devel/android-tools-adb/files/patch-usb_libusb.c new file mode 100644 index 000000000000..8af304b4f29c --- /dev/null +++ b/devel/android-tools-adb/files/patch-usb_libusb.c @@ -0,0 +1,11 @@ +--- usb_libusb.c.orig 2013-08-01 17:14:17.000000000 +0800 ++++ usb_libusb.c 2013-08-01 17:14:46.000000000 +0800 +@@ -37,7 +37,7 @@ + #define TRACE_TAG TRACE_USB + #include "adb.h" + +-static adb_mutex_t usb_lock = ADB_MUTEX_INITIALIZER; ++ADB_MUTEX_DEFINE( usb_lock ); + static libusb_context *ctx = NULL; + + struct usb_handle |