aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2009-03-17 03:02:52 +0800
committermiwi <miwi@FreeBSD.org>2009-03-17 03:02:52 +0800
commit5799356ef68d3ea0ba16995d1097c4d6a5e4cd4f (patch)
treeeaeeea730b298acb9ce08df98adb8844fd47729b /x11
parent806bef2e300945bd50bae82a8f48fcdfe3d1d993 (diff)
downloadfreebsd-ports-gnome-5799356ef68d3ea0ba16995d1097c4d6a5e4cd4f.tar.gz
freebsd-ports-gnome-5799356ef68d3ea0ba16995d1097c4d6a5e4cd4f.tar.zst
freebsd-ports-gnome-5799356ef68d3ea0ba16995d1097c4d6a5e4cd4f.zip
- Add a workaround to fix the build on HEAD with new usb2 stack
PR: 132686 Submitted by: Michiel Boland <michiel@boland.org>
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;
+