mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-16 07:58:04 +00:00
Add band-aid build fix for -current (usb host support still wont work with
the new stack - helpful hands wanted there!) PR: ports/132126 Submitted by: Oleg Ginzburg <oleg.ginzburg@nevosoft.ru>
This commit is contained in:
parent
a60443382a
commit
16526aaf38
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=229221
14
emulators/qemu-devel/files/patch-bandaid-usb-current
Normal file
14
emulators/qemu-devel/files/patch-bandaid-usb-current
Normal file
@ -0,0 +1,14 @@
|
||||
Index: qemu/usb-bsd.c
|
||||
@@ -34,7 +34,12 @@
|
||||
#undef USB_SPEED_LOW
|
||||
|
||||
#include <sys/ioctl.h>
|
||||
+#include <sys/param.h>
|
||||
+#if __FreeBSD_version >= 800064
|
||||
+#include <legacy/dev/usb/usb.h>
|
||||
+#else
|
||||
#include <dev/usb/usb.h>
|
||||
+#endif
|
||||
#include <signal.h>
|
||||
|
||||
/* This value has maximum potential at 16.
|
14
emulators/qemu/files/patch-bandaid-usb-current
Normal file
14
emulators/qemu/files/patch-bandaid-usb-current
Normal file
@ -0,0 +1,14 @@
|
||||
Index: qemu/usb-bsd.c
|
||||
@@ -34,7 +34,12 @@
|
||||
#undef USB_SPEED_LOW
|
||||
|
||||
#include <sys/ioctl.h>
|
||||
+#include <sys/param.h>
|
||||
+#if __FreeBSD_version >= 800064
|
||||
+#include <legacy/dev/usb/usb.h>
|
||||
+#else
|
||||
#include <dev/usb/usb.h>
|
||||
+#endif
|
||||
#include <signal.h>
|
||||
|
||||
/* This value has maximum potential at 16.
|
Loading…
Reference in New Issue
Block a user