summaryrefslogtreecommitdiff
path: root/emulators/qemu-devel/files/patch-z-bandaid-usb-current
diff options
context:
space:
mode:
authorJuergen Lock <nox@FreeBSD.org>2009-02-28 17:31:36 +0000
committerJuergen Lock <nox@FreeBSD.org>2009-02-28 17:31:36 +0000
commitb1281b8d4eaedb42de04672623c2ea0543eebcaa (patch)
tree4290018a3cdd9595848386ff833866325989436e /emulators/qemu-devel/files/patch-z-bandaid-usb-current
parentUpdate to Wine 1.1.16. Among others, this includes the following changes: (diff)
Rename band-aid build fix patch so it gets applied after the file it
patches (duh!) Pointyhat to: nox
Notes
Notes: svn path=/head/; revision=229224
Diffstat (limited to 'emulators/qemu-devel/files/patch-z-bandaid-usb-current')
-rw-r--r--emulators/qemu-devel/files/patch-z-bandaid-usb-current14
1 files changed, 14 insertions, 0 deletions
diff --git a/emulators/qemu-devel/files/patch-z-bandaid-usb-current b/emulators/qemu-devel/files/patch-z-bandaid-usb-current
new file mode 100644
index 000000000000..347c8417ab7b
--- /dev/null
+++ b/emulators/qemu-devel/files/patch-z-bandaid-usb-current
@@ -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.