summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2020-09-16 15:52:17 +0200
committerDavid Seifert <soap@gentoo.org>2020-09-16 15:52:17 +0200
commitc8f2fe3cf9deb634c3651cd67c42d0cdd55d6513 (patch)
treefec219aad60312844f6fb1d78d340e7bd3b03214 /dev-embedded/avarice/files
parentapp-i18n/xcin: Fix MissingSlotDep (diff)
downloadgentoo-c8f2fe3cf9deb634c3651cd67c42d0cdd55d6513.tar.gz
gentoo-c8f2fe3cf9deb634c3651cd67c42d0cdd55d6513.tar.bz2
gentoo-c8f2fe3cf9deb634c3651cd67c42d0cdd55d6513.zip
dev-embedded/avarice: Version bump to 2.14
Bug: https://bugs.gentoo.org/597138 Bug: https://bugs.gentoo.org/729708 Bug: https://bugs.gentoo.org/742170 Package-Manager: Portage-3.0.7, Repoman-3.0.1 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'dev-embedded/avarice/files')
-rw-r--r--dev-embedded/avarice/files/avarice-2.14-broken-__unused-macro.patch39
1 files changed, 39 insertions, 0 deletions
diff --git a/dev-embedded/avarice/files/avarice-2.14-broken-__unused-macro.patch b/dev-embedded/avarice/files/avarice-2.14-broken-__unused-macro.patch
new file mode 100644
index 000000000000..9c3ba3da2f4b
--- /dev/null
+++ b/dev-embedded/avarice/files/avarice-2.14-broken-__unused-macro.patch
@@ -0,0 +1,39 @@
+--- a/src/jtag2usb.cc
++++ b/src/jtag2usb.cc
+@@ -739,7 +739,7 @@
+
+ #ifdef HAVE_LIBUSB_2_0
+ /* USB thread */
+-static void *usb_thread(void * data __unused)
++static void *usb_thread(void * data)
+ {
+ struct pollfd fds[2];
+
+--- a/src/jtag3io.cc
++++ b/src/jtag3io.cc
+@@ -350,12 +350,12 @@
+ throw jtag_exception("doSimpleJtagCommand(): too many failures");
+ }
+
+-void jtag3::changeBitRate(int newBitRate __unused)
++void jtag3::changeBitRate(int newBitRate)
+ {
+ throw;
+ }
+
+-bool jtag3::synchroniseAt(int bitrate __unused)
++bool jtag3::synchroniseAt(int bitrate)
+ {
+ throw;
+ }
+--- a/src/jtag3prog.cc
++++ b/src/jtag3prog.cc
+@@ -106,7 +106,7 @@
+ }
+
+
+-void jtag3::downloadToTarget(const char* filename __unused, bool program __unused, bool verify __unused)
++void jtag3::downloadToTarget(const char* filename, bool program, bool verify)
+ {
+ statusOut("\nDownload not done.\n");
+ throw jtag_exception("Target programming not implemented for JTAGICE3");