summaryrefslogtreecommitdiff
path: root/comms/dfu-util/files/patch-src-dfu.c
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2009-02-18 23:07:57 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2009-02-18 23:07:57 +0000
commitaa562d1c4d464e0d5ad17ed1722c59db90ff33e6 (patch)
tree09a32c626705fe4d41324242150e4f559cc5c6b1 /comms/dfu-util/files/patch-src-dfu.c
parent- Add optional support for graphics/osg-devel, which should fix some renderin... (diff)
dfu-util is a program that implements the host (PC) side of the USB DFU
(Universal Serial Bus Device Firmware Upgrade) protocol. In the OpenMoko project (for example), this program is used to communicate with the specially enhanced u-boot boot loader, which implements the DFU device side. Author: Bruce Cran <bruce@cran.org.uk> WWW: http://wiki.openmoko.org/wiki/Dfu-util PR: 131430 Submitted by: Bruce Cran <bruce at cran dot org dot uk>
Notes
Notes: svn path=/head/; revision=228618
Diffstat (limited to 'comms/dfu-util/files/patch-src-dfu.c')
-rw-r--r--comms/dfu-util/files/patch-src-dfu.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/comms/dfu-util/files/patch-src-dfu.c b/comms/dfu-util/files/patch-src-dfu.c
new file mode 100644
index 000000000000..03fd922339e7
--- /dev/null
+++ b/comms/dfu-util/files/patch-src-dfu.c
@@ -0,0 +1,11 @@
+--- src/dfu.c.orig 2007-02-25 15:43:05.000000000 +0000
++++ src/dfu.c 2009-02-04 22:05:08.000000000 +0000
+@@ -19,7 +19,7 @@
+ */
+
+ #include <stdio.h>
+-#include <usb.h>
++#include <libusb20_compat01.h>
+ #include "dfu.h"
+
+ /* DFU commands */