aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--x11/kdebase3/files/patch-kcontrol-usbview-usbdevices.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/x11/kdebase3/files/patch-kcontrol-usbview-usbdevices.h b/x11/kdebase3/files/patch-kcontrol-usbview-usbdevices.h
new file mode 100644
index 000000000000..d950359ec195
--- /dev/null
+++ b/x11/kdebase3/files/patch-kcontrol-usbview-usbdevices.h
@@ -0,0 +1,18 @@
+Patch included below. FreeBSD_version is approximate.
+
+--- kcontrol/usbview/usbdevices.h.orig 2006-07-22 10:15:22.000000000 +0200
++++ kcontrol/usbview/usbdevices.h 2009-03-15 23:24:38.000000000 +0100
+@@ -17,8 +17,13 @@
+ #include <qptrlist.h>
+
+ #ifdef Q_OS_FREEBSD
++#include <osreldate.h>
++#if __FreeBSD_version >= 800069
++#include <legacy/dev/usb/usb.h>
++#else
+ #include <dev/usb/usb.h>
+ #endif
++#endif
+
+ class USBDB;
+