summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorobache <obache>2011-01-03 01:40:46 +0000
committerobache <obache>2011-01-03 01:40:46 +0000
commitc85226e7d552ab7dc549fc36e4267b3a73a77c1d (patch)
tree9cfda1e9b695e4fdc0a3bdd52195a0c5e64337f7 /sysutils
parent3566ec2054eb0c30e911313828ac3fc161da635c (diff)
downloadpkgsrc-c85226e7d552ab7dc549fc36e4267b3a73a77c1d.tar.gz
Add an patch for DragonFly BSD usb headers.
PR#44320 by Rumko.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/smartmontools/distinfo3
-rw-r--r--sysutils/smartmontools/patches/patch-ah14
2 files changed, 16 insertions, 1 deletions
diff --git a/sysutils/smartmontools/distinfo b/sysutils/smartmontools/distinfo
index 87bbb23b32f..e3acdfc42d1 100644
--- a/sysutils/smartmontools/distinfo
+++ b/sysutils/smartmontools/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.17 2010/11/13 10:10:46 tnn Exp $
+$NetBSD: distinfo,v 1.18 2011/01/03 01:40:46 obache Exp $
SHA1 (smartmontools-5.40.tar.gz) = 08a86a939a2e2cd85d2c88c09188d494f06ce050
RMD160 (smartmontools-5.40.tar.gz) = ff2ebfd130182ba721248ebfebd9d4d5cc325ff4
Size (smartmontools-5.40.tar.gz) = 705592 bytes
SHA1 (patch-aa) = b6f8b3bf263a46e4c88bcafa51582bb4c802165a
SHA1 (patch-ag) = a4efc16ceb1f213979e63d7f8f50cce942c20ccf
+SHA1 (patch-ah) = be472000d11834311d3da4de2b8b3792f005f172
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>