aboutsummaryrefslogtreecommitdiff
path: root/devel/openocd
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2010-02-12 10:12:44 +0000
committerPav Lucistnik <pav@FreeBSD.org>2010-02-12 10:12:44 +0000
commit5f660b3925a10b80e365791da94dfabdfafc1dbf (patch)
treee1d75fc2aa8c128a85b4c77d8e85d5725bb7560b /devel/openocd
parent143ae701f1cc9d8c705cd91e73059209dc4359a5 (diff)
downloadports-5f660b3925a10b80e365791da94dfabdfafc1dbf.tar.gz
ports-5f660b3925a10b80e365791da94dfabdfafc1dbf.zip
Notes
Diffstat (limited to 'devel/openocd')
-rw-r--r--devel/openocd/Makefile1
-rw-r--r--devel/openocd/files/patch-src-jtag-jlink.c19
2 files changed, 20 insertions, 0 deletions
diff --git a/devel/openocd/Makefile b/devel/openocd/Makefile
index e98fb8ffc57c..acced5ca6682 100644
--- a/devel/openocd/Makefile
+++ b/devel/openocd/Makefile
@@ -7,6 +7,7 @@
PORTNAME= openocd
PORTVERSION= 0.2.0
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= BERLIOS
diff --git a/devel/openocd/files/patch-src-jtag-jlink.c b/devel/openocd/files/patch-src-jtag-jlink.c
new file mode 100644
index 000000000000..98478bb87235
--- /dev/null
+++ b/devel/openocd/files/patch-src-jtag-jlink.c
@@ -0,0 +1,19 @@
+--- src/jtag/jlink.c.orig 2009-07-13 23:29:38.000000000 +0200
++++ src/jtag/jlink.c 2010-02-12 11:08:50.000000000 +0100
+@@ -891,6 +891,7 @@
+ * test them carefully on all platforms before committing them!
+ */
+
++#if 0
+ #if IS_WIN32 == 0
+
+ usb_reset(result->usb_handle);
+@@ -918,7 +919,7 @@
+
+ result->usb_handle = usb_open(dev);
+ #endif
+-
++#endif
+ #endif
+
+ if (result->usb_handle)