summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2009-03-16 19:02:52 +0000
committerMartin Wilke <miwi@FreeBSD.org>2009-03-16 19:02:52 +0000
commitb705a12b25a1cb121a6363168572830024296297 (patch)
tree6f21d7e68d30081597897f12a32859764e9aafbd /x11
parent- Add a workaround to fix the build on HEAD with new usb2 stack (diff)
- Add a workaround to fix the build on HEAD with new usb2 stack
PR: 132686 Submitted by: Michiel Boland <michiel@boland.org>
Notes
Notes: svn path=/head/; revision=230246
Diffstat (limited to 'x11')
-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;
+