summaryrefslogtreecommitdiff
path: root/sysutils/pluged
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2011-01-10 11:40:17 +0000
committerobache <obache@pkgsrc.org>2011-01-10 11:40:17 +0000
commit3745fc9f130dbfa6caa17f0d4491460ad48a65f7 (patch)
tree7b10f5f63cae41644fa4ddd45969be12c3c04366 /sysutils/pluged
parent0d32a589d3649aa5c25c739c61a3ae7b7fe45e40 (diff)
downloadpkgsrc-3745fc9f130dbfa6caa17f0d4491460ad48a65f7.tar.gz
The USB headers in DragonFly BSD are located in bus/usb, not dev/usb.
PR#44358 by Tony Young.
Diffstat (limited to 'sysutils/pluged')
-rw-r--r--sysutils/pluged/distinfo3
-rw-r--r--sysutils/pluged/patches/patch-aa20
2 files changed, 22 insertions, 1 deletions
diff --git a/sysutils/pluged/distinfo b/sysutils/pluged/distinfo
index 10e52fbd2a3..7c1863d84cb 100644
--- a/sysutils/pluged/distinfo
+++ b/sysutils/pluged/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2010/09/08 10:20:15 manu Exp $
+$NetBSD: distinfo,v 1.2 2011/01/10 11:40:17 obache Exp $
SHA1 (pluged.tbz) = c723dcb1645903a5b4f126e83e779dcb9d987f05
RMD160 (pluged.tbz) = 741835591ffac0e510bf80b31bca4e4e048bca74
Size (pluged.tbz) = 5091 bytes
+SHA1 (patch-aa) = da8fd857bb6673d2360b383e8c5464a4b7f92d1e
diff --git a/sysutils/pluged/patches/patch-aa b/sysutils/pluged/patches/patch-aa
new file mode 100644
index 00000000000..e80d71cd33a
--- /dev/null
+++ b/sysutils/pluged/patches/patch-aa
@@ -0,0 +1,20 @@
+$NetBSD: patch-aa,v 1.1 2011/01/10 11:40:17 obache Exp $
+
+* The USE headers in DragonFly are located in bus/usb.
+
+--- pluged.h.orig 2005-08-01 13:38:54.000000000 +0000
++++ pluged.h
+@@ -1,8 +1,13 @@
+ #ifndef __pluged_dat
+ #define __pluged_dat
+
++#ifdef __DragonFly__
++#include <bus/usb/usb.h>
++#include <bus/usb/usbhid.h>
++#else
+ #include <dev/usb/usb.h>
+ #include <dev/usb/usbhid.h>
++#endif
+ #include <sys/queue.h>
+ #include <regex.h>
+