aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Leres <leres@FreeBSD.org>2018-07-08 22:34:53 +0000
committerCraig Leres <leres@FreeBSD.org>2018-07-08 22:34:53 +0000
commitb6e2823700ed498ebb9a15452befbc9691d57635 (patch)
tree2e343c356b2d3a0a3fb3a76d3c1d61934b752e4e
parent17cf4b6e023013ec8e0a4dd6df509bf2599a1ca9 (diff)
downloadports-b6e2823700ed498ebb9a15452befbc9691d57635.tar.gz
ports-b6e2823700ed498ebb9a15452befbc9691d57635.zip
Notes
-rw-r--r--devel/avarice/Makefile2
-rw-r--r--devel/avarice/files/patch-src_jtagrw.cc11
2 files changed, 12 insertions, 1 deletions
diff --git a/devel/avarice/Makefile b/devel/avarice/Makefile
index 8486b2f0f187..5497f7cde9d8 100644
--- a/devel/avarice/Makefile
+++ b/devel/avarice/Makefile
@@ -3,7 +3,7 @@
PORTNAME= avarice
PORTVERSION= 2.13
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= devel
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
diff --git a/devel/avarice/files/patch-src_jtagrw.cc b/devel/avarice/files/patch-src_jtagrw.cc
new file mode 100644
index 000000000000..74a152e6da4c
--- /dev/null
+++ b/devel/avarice/files/patch-src_jtagrw.cc
@@ -0,0 +1,11 @@
+--- src/jtagrw.cc.orig 2018-06-27 21:49:14 UTC
++++ src/jtagrw.cc
+@@ -131,7 +131,7 @@ uchar *jtag1::jtagRead(unsigned long add
+ else
+ numLocations = (numBytes + 1) / 2;
+ if (numLocations > 256)
+- return false;
++ return NULL;
+
+ command[1] = whichSpace;
+ command[2] = numLocations - 1;