Date: Thu, 11 Jun 2015 18:11:09 +0000 (UTC) From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r389234 - head/devel/android-tools-fastboot/files Message-ID: <201506111811.t5BIB9QH012515@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201506111811.t5BIB9QH012515>