summaryrefslogtreecommitdiff
path: root/textproc/turboxsl/files/patch-src-zlog-src-zc_util.c
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2015-07-18 16:51:08 +0000
committerJan Beich <jbeich@FreeBSD.org>2015-07-18 16:51:08 +0000
commitd798c6aea83983e3d0b33bd13c293d4fbb3ddcff (patch)
tree1109b98047dd90ef44c79cc04d0230c106ea5b85 /textproc/turboxsl/files/patch-src-zlog-src-zc_util.c
parentdevel/android-tools-{adb,fastboot}-devel: update to m.p.190 (diff)
devel/android-tools-fastboot-devel: move FreeBSD code to C++
Copy files in order to fix the following errors. files/usb_freebsd.cpp:132:4: error: assigning to 'usb_handle *' from incompatible type 'void *' h = malloc(sizeof(*h)); ^ ~~~~~~~~~~~~~~~~~~ files/usb_freebsd.cpp:162:6: error: no matching function for call to 'libusb_bulk_transfer' if (libusb_bulk_transfer(h->handle, h->ep_out, (void *)(long)_data, len, &actlen, 0) < 0) ^~~~~~~~~~~~~~~~~~~~ /usr/include/libusb.h:478:5: note: candidate function not viable: cannot convert argument of incomplete type 'void *' to 'uint8_t *' (aka 'unsigned char *') int libusb_bulk_transfer(libusb_device_handle * devh, uint8_t endpoint, uint8_t *data, int length, int *transferred, uint32_t timeout); ^ files/usb_freebsd.cpp:172:6: error: no matching function for call to 'libusb_bulk_transfer' if (libusb_bulk_transfer(h->handle, h->ep_in, _data, len, &actlen, 0) < 0) ^~~~~~~~~~~~~~~~~~~~ /usr/include/libusb.h:478:5: note: candidate function not viable: cannot convert argument of incomplete type 'void *' to 'uint8_t *' (aka 'unsigned char *') int libusb_bulk_transfer(libusb_device_handle * devh, uint8_t endpoint, uint8_t *data, int length, int *transferred, uint32_t timeout); ^ 3 errors generated. fastboot.o: In function `find_item(char const*, char const*)': fastboot.cpp:(.text+0xea): undefined reference to `get_my_path'
Notes
Notes: svn path=/head/; revision=392432
Diffstat (limited to 'textproc/turboxsl/files/patch-src-zlog-src-zc_util.c')
0 files changed, 0 insertions, 0 deletions