summaryrefslogtreecommitdiff
path: root/graphics/phpsview/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/phpsview/patches/patch-ab')
-rw-r--r--graphics/phpsview/patches/patch-ab16
1 files changed, 16 insertions, 0 deletions
diff --git a/graphics/phpsview/patches/patch-ab b/graphics/phpsview/patches/patch-ab
new file mode 100644
index 00000000000..d0726dd11ed
--- /dev/null
+++ b/graphics/phpsview/patches/patch-ab
@@ -0,0 +1,16 @@
+$NetBSD: patch-ab,v 1.1 2006/04/22 18:18:38 joerg Exp $
+
+--- 2.4/linux_usbif.h.orig 2006-04-22 18:11:24.000000000 +0000
++++ 2.4/linux_usbif.h
+@@ -11,7 +11,11 @@
+ #include <string.h>
+ #include <err.h>
+
++#if defined(__DragonFly__)
++#include <bus/usb/usb.h>
++#else
+ #include <dev/usb/usb.h>
++#endif
+
+ #define USB_DIR_OUT UT_WRITE
+ #define USB_DIR_IN UT_READ