summaryrefslogtreecommitdiff
path: root/sysutils/smartmontools/patches
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2011-01-03 01:40:46 +0000
committerobache <obache@pkgsrc.org>2011-01-03 01:40:46 +0000
commit0b5f241e97264d0e2b28da0c9ef4b726ec5476d1 (patch)
tree9cfda1e9b695e4fdc0a3bdd52195a0c5e64337f7 /sysutils/smartmontools/patches
parent63c156a0be7bada7f6e01923c52dae24684aed48 (diff)
downloadpkgsrc-0b5f241e97264d0e2b28da0c9ef4b726ec5476d1.tar.gz
Add an patch for DragonFly BSD usb headers.
PR#44320 by Rumko.
Diffstat (limited to 'sysutils/smartmontools/patches')
-rw-r--r--sysutils/smartmontools/patches/patch-ah14
1 files changed, 14 insertions, 0 deletions
diff --git a/sysutils/smartmontools/patches/patch-ah b/sysutils/smartmontools/patches/patch-ah
new file mode 100644
index 00000000000..1ad9859a092
--- /dev/null
+++ b/sysutils/smartmontools/patches/patch-ah
@@ -0,0 +1,14 @@
+$NetBSD: patch-ah,v 1.3 2011/01/03 01:40:46 obache Exp $
+
+--- os_freebsd.cpp.orig 2010-10-14 18:46:33.000000000 +0000
++++ os_freebsd.cpp
+@@ -59,6 +59,9 @@
+ #if (FREEBSDVER >= 800000)
+ #include <libusb20_desc.h>
+ #include <libusb20.h>
++#elif defined(__DragonFly__)
++#include <bus/usb/usb.h>
++#include <bus/usb/usbhid.h>
+ #else
+ #include <dev/usb/usb.h>
+ #include <dev/usb/usbhid.h>