svn commit: r389234 - head/devel/android-tools-fastboot/files
Jan Beich
jbeich at FreeBSD.org
Thu Jun 11 18:11:09 UTC 2015
Author: jbeich
Date: Thu Jun 11 18:11:08 2015
New Revision: 389234
URL: https://svnweb.freebsd.org/changeset/ports/389234
Log:
devel/android-tools-fastboot: unbreak against libusb-1.0.9 from sf.net
inb4 someone actually tests on NetBSD or OpenBSD...
files/usb_freebsd.c:57:2: error: must
use 'struct' tag to refer to type 'libusb_device_descriptor'
libusb_device_descriptor ddesc;
^
struct
files/usb_freebsd.c:58:2: error: must
use 'struct' tag to refer to type 'libusb_config_descriptor'
libusb_config_descriptor *pcfg;
^
struct
2 errors generated.
Tested by: md5
Modified:
head/devel/android-tools-fastboot/files/usb_freebsd.c (contents, props changed)
Modified: head/devel/android-tools-fastboot/files/usb_freebsd.c
==============================================================================
--- head/devel/android-tools-fastboot/files/usb_freebsd.c Thu Jun 11 18:08:41 2015 (r389233)
+++ head/devel/android-tools-fastboot/files/usb_freebsd.c Thu Jun 11 18:11:08 2015 (r389234)
@@ -54,8 +54,8 @@ static int
probe(struct usb_handle *h, ifc_match_func callback)
{
struct usb_ifc_info info;
- libusb_device_descriptor ddesc;
- libusb_config_descriptor *pcfg;
+ struct libusb_device_descriptor ddesc;
+ struct libusb_config_descriptor *pcfg;
int i, j;
if (libusb_open(h->dev, &h->handle) < 0)
More information about the svn-ports-all
mailing list