- Add a workaround to fix the build on HEAD with new usb2 stack
PR: 132686 Submitted by: Michiel Boland <michiel@boland.org>
This commit is contained in:
parent
8386736c4b
commit
b705a12b25
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=230246
1 changed files with 18 additions and 0 deletions
18
x11/kdebase3/files/patch-kcontrol-usbview-usbdevices.h
Normal file
18
x11/kdebase3/files/patch-kcontrol-usbview-usbdevices.h
Normal file
|
@ -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;
|
||||
|
Loading…
Reference in a new issue