summaryrefslogtreecommitdiffstats
path: root/sysutils/hal/files/patch-hald_freebsd_osspec.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/hal/files/patch-hald_freebsd_osspec.c')
-rw-r--r--sysutils/hal/files/patch-hald_freebsd_osspec.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/sysutils/hal/files/patch-hald_freebsd_osspec.c b/sysutils/hal/files/patch-hald_freebsd_osspec.c
new file mode 100644
index 000000000..01c07099c
--- /dev/null
+++ b/sysutils/hal/files/patch-hald_freebsd_osspec.c
@@ -0,0 +1,22 @@
+--- hald/freebsd/osspec.c.orig 2008-05-07 19:24:01.000000000 -0400
++++ hald/freebsd/osspec.c 2009-02-18 00:24:42.000000000 -0500
+@@ -46,6 +46,9 @@
+ #include "hf-sound.h"
+ #include "hf-storage.h"
+ #include "hf-usb.h"
++#ifdef HAVE_LIBUSB20
++#include "hf-usb2.h"
++#endif
+ #include "hf-volume.h"
+
+ /* the order matters: PCI devices must be created before their children, etc */
+@@ -53,6 +56,9 @@ static HFHandler *handlers[] = {
+ &hf_pci_handler,
+ &hf_devtree_handler,
+ &hf_usb_handler,
++#ifdef HAVE_LIBUSB20
++ &hf_usb2_handler,
++#endif
+ &hf_ata_handler,
+ &hf_scsi_handler,
+ &hf_storage_handler,