diff options
author | David Seifert <soap@gentoo.org> | 2020-09-16 15:52:17 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2020-09-16 15:52:17 +0200 |
commit | c8f2fe3cf9deb634c3651cd67c42d0cdd55d6513 (patch) | |
tree | fec219aad60312844f6fb1d78d340e7bd3b03214 /dev-embedded | |
parent | app-i18n/xcin: Fix MissingSlotDep (diff) | |
download | gentoo-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')
-rw-r--r-- | dev-embedded/avarice/Manifest | 1 | ||||
-rw-r--r-- | dev-embedded/avarice/avarice-2.14.ebuild | 19 | ||||
-rw-r--r-- | dev-embedded/avarice/files/avarice-2.14-broken-__unused-macro.patch | 39 |
3 files changed, 59 insertions, 0 deletions
diff --git a/dev-embedded/avarice/Manifest b/dev-embedded/avarice/Manifest index 93a5d1bf4f69..b0d36a4110f6 100644 --- a/dev-embedded/avarice/Manifest +++ b/dev-embedded/avarice/Manifest @@ -1 +1,2 @@ DIST avarice-2.13.tar.bz2 196063 BLAKE2B 4380478684d360708310b46cf46b3eca359dc4145a33f6330d5cb18e13c57c18229eeee6fe72b8740baf585d19c4efb21b685afb0317c830d89bb550d245192d SHA512 fa67e46061e32ec9db10bed961484ee050b219e92c2e9900ad35861b3c45161cc6ea6f2a9e63b0303242ef9992193cd963ac5871583db434409c10995b420b5f +DIST avarice-2.14.tar.bz2 253668 BLAKE2B 673c95d8f7f296ffdd5c225e82bd8ef348f0c222201acb826798451fa195ec9c2fd8e8d1ecd3f847f9e0ac069ee2f6a4358f660ff45343817b14d804e79a8c90 SHA512 e0b23bd02bfa7d4dc05027f0f59ec7da868d8d0c0cd4f66595f6aaa5c335fa4eb64fc47399e51c0ed5112803ee99a3f041812bf4072dc096cc933cd17f9348a0 diff --git a/dev-embedded/avarice/avarice-2.14.ebuild b/dev-embedded/avarice/avarice-2.14.ebuild new file mode 100644 index 000000000000..99ecdf5b2e24 --- /dev/null +++ b/dev-embedded/avarice/avarice-2.14.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Interface for GDB to Atmel AVR JTAGICE in circuit emulator" +HOMEPAGE="http://avarice.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +PATCHES=( "${FILESDIR}"/${P}-broken-__unused-macro.patch ) + +src_install() { + default + dodoc doc/*.txt +} 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"); |