mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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>
This commit is contained in:
@@ -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
|
||||
|
||||
19
dev-embedded/avarice/avarice-2.14.ebuild
Normal file
19
dev-embedded/avarice/avarice-2.14.ebuild
Normal file
@@ -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
|
||||
}
|
||||
@@ -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");
|
||||
Reference in New Issue
Block a user