diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-09-23 10:22:15 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-09-23 10:22:15 +0100 |
commit | 8b4ace9c50842c5b83401ea7b179dcab940387e1 (patch) | |
tree | 230f3135ceaace633cf93e9838b185c4a6664c2e /dev-embedded/avarice/files | |
parent | 9ee6d97c2883d42f204a533a8bc1f4562df778fb (diff) |
gentoo resync : 23.09.2020
Diffstat (limited to 'dev-embedded/avarice/files')
-rw-r--r-- | dev-embedded/avarice/files/avarice-2.14-broken-__unused-macro.patch | 39 |
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"); |