summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2009-03-16 18:59:27 +0000
committerMartin Wilke <miwi@FreeBSD.org>2009-03-16 18:59:27 +0000
commit8386736c4b26dd5474fa3157b2f4e926f71c60b1 (patch)
tree30a009b268ce83563f1244505054cccd790605ec /x11
parent- Document roundcube -- webmail script insertion and php code injection (diff)
- Add a workaround to fix the build on HEAD with new usb2 stack
PR: 132244 Submitted by: Mel Flynn <mel@rachie.is-a-geek.net>
Notes
Notes: svn path=/head/; revision=230245
Diffstat (limited to 'x11')
-rw-r--r--x11/kde4-baseapps/files/patch-apps_kinfocenter_usbview_usbdevices.h15
-rw-r--r--x11/kdebase4/files/patch-apps_kinfocenter_usbview_usbdevices.h15
2 files changed, 30 insertions, 0 deletions
diff --git a/x11/kde4-baseapps/files/patch-apps_kinfocenter_usbview_usbdevices.h b/x11/kde4-baseapps/files/patch-apps_kinfocenter_usbview_usbdevices.h
new file mode 100644
index 000000000000..095b61afd17c
--- /dev/null
+++ b/x11/kde4-baseapps/files/patch-apps_kinfocenter_usbview_usbdevices.h
@@ -0,0 +1,15 @@
+--- ../apps/kinfocenter/usbview/usbdevices.h.orig 2008-10-17 03:00:14.000000000 -0800
++++ ../apps/kinfocenter/usbview/usbdevices.h 2009-03-01 21:01:18.000000000 -0900
+@@ -18,7 +18,12 @@
+ #include <bus/usb/usb.h>
+ #include <QStringList>
+ #elif defined(Q_OS_FREEBSD) || defined(Q_OS_NETBSD)
++#include <sys/param.h>
++#if __FreeBSD_version+0 >= 800061
++#include <legacy/dev/usb/usb.h>
++#else
+ #include <dev/usb/usb.h>
++#endif
+ #include <QStringList>
+ #endif
+
diff --git a/x11/kdebase4/files/patch-apps_kinfocenter_usbview_usbdevices.h b/x11/kdebase4/files/patch-apps_kinfocenter_usbview_usbdevices.h
new file mode 100644
index 000000000000..095b61afd17c
--- /dev/null
+++ b/x11/kdebase4/files/patch-apps_kinfocenter_usbview_usbdevices.h
@@ -0,0 +1,15 @@
+--- ../apps/kinfocenter/usbview/usbdevices.h.orig 2008-10-17 03:00:14.000000000 -0800
++++ ../apps/kinfocenter/usbview/usbdevices.h 2009-03-01 21:01:18.000000000 -0900
+@@ -18,7 +18,12 @@
+ #include <bus/usb/usb.h>
+ #include <QStringList>
+ #elif defined(Q_OS_FREEBSD) || defined(Q_OS_NETBSD)
++#include <sys/param.h>
++#if __FreeBSD_version+0 >= 800061
++#include <legacy/dev/usb/usb.h>
++#else
+ #include <dev/usb/usb.h>
++#endif
+ #include <QStringList>
+ #endif
+