diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2009-05-30 07:22:25 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2009-05-30 07:22:25 +0000 |
commit | 372eb252aee49b329beaeace16777fac1e1aff87 (patch) | |
tree | 685860e7dfc4e855afed053d3ae510db21bc67de /sysutils/hal/files/patch-hald_freebsd_probing_probe-usb2-device.c | |
parent | - Update to 1.3.110 (diff) |
Fix the build on recent -CURRENT with the removal of oldusb.
Diffstat (limited to 'sysutils/hal/files/patch-hald_freebsd_probing_probe-usb2-device.c')
-rw-r--r-- | sysutils/hal/files/patch-hald_freebsd_probing_probe-usb2-device.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/sysutils/hal/files/patch-hald_freebsd_probing_probe-usb2-device.c b/sysutils/hal/files/patch-hald_freebsd_probing_probe-usb2-device.c index f36ad02ae094..5cae11b6b9b8 100644 --- a/sysutils/hal/files/patch-hald_freebsd_probing_probe-usb2-device.c +++ b/sysutils/hal/files/patch-hald_freebsd_probing_probe-usb2-device.c @@ -1,6 +1,6 @@ ---- hald/freebsd/probing/probe-usb2-device.c.orig 2009-05-23 15:56:54.000000000 -0400 -+++ hald/freebsd/probing/probe-usb2-device.c 2009-05-23 17:14:06.000000000 -0400 -@@ -0,0 +1,204 @@ +--- hald/freebsd/probing/probe-usb2-device.c.orig 2009-05-30 03:09:03.000000000 -0400 ++++ hald/freebsd/probing/probe-usb2-device.c 2009-05-30 03:10:48.000000000 -0400 +@@ -0,0 +1,208 @@ +/*************************************************************************** + * CVSID: $Id$ + * @@ -76,7 +76,11 @@ + { + struct LIBUSB20_DEVICE_DESC_DECODED *ddesc; + struct LIBUSB20_CONFIG_DESC_DECODED *cdesc; ++#if __FreeBSD_version >= 800092 ++ struct usb_device_info di; ++#else + struct usb2_device_info di; ++#endif + struct libusb20_config *pcfg = NULL; + int curr_config; + int bcdspeed = 0; |