mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-17 18:06:59 +02:00
dev-util/lcov: delete unnecessary package
This commit is contained in:
parent
86b9533b56
commit
c8210e51c2
@ -1 +0,0 @@
|
||||
DIST lcov-1.9.tar.gz 140035 RMD160 8065012a49cc7e10c295093c9b0c6dee9efcac22 SHA1 5aff4b998b1288896734326a0b74ab536339ec21 SHA256 c37e125d4f0773339de3600d45ad325fe710ea2f0051d7ee2b8a168f450f1aca
|
@ -1,32 +0,0 @@
|
||||
This patch is needed because this commit:
|
||||
http://gcc.gnu.org/viewcvs?view=revision&revision=173147
|
||||
changes the way the gcno files store function information.
|
||||
|
||||
It should be removed once we upgrade to gcc-4.7 and grab the
|
||||
new lcov from upstream gentoo.
|
||||
--- lcov-1.9/bin/geninfo 2010-08-06 04:05:17.000000000 -0700
|
||||
+++ lcov-1.9/bin/geninfo 2012-06-26 17:03:18.925545659 -0700
|
||||
@@ -63,6 +63,7 @@
|
||||
our $gcov_tool = "gcov";
|
||||
our $tool_name = basename($0);
|
||||
|
||||
+our $GCOV_VERSION_4_6_0 = 0x40600;
|
||||
our $GCOV_VERSION_3_4_0 = 0x30400;
|
||||
our $GCOV_VERSION_3_3_0 = 0x30300;
|
||||
our $GCNO_FUNCTION_TAG = 0x01000000;
|
||||
@@ -2897,12 +2898,14 @@
|
||||
my ($handle, $bb, $fileorder, $base, $big_endian) = @_;
|
||||
my $filename;
|
||||
my $function;
|
||||
+ my $checksum_length = ($gcov_version < $GCOV_VERSION_4_6_0) ? 4 : 8;
|
||||
my $lineno;
|
||||
my $lines;
|
||||
|
||||
graph_expect("function record");
|
||||
# Skip ident and checksum
|
||||
- graph_skip($handle, 8, "function ident and checksum") or return undef;
|
||||
+ graph_skip($handle, 4 + $checksum_length,
|
||||
+ "function ident and checksum") or return undef;
|
||||
# Read function name
|
||||
graph_expect("function name");
|
||||
$function = read_gcno_string($handle, $big_endian);
|
@ -1,28 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/lcov/lcov-1.9.ebuild,v 1.3 2012/05/21 12:29:34 johu Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="A graphical front-end for GCC's coverage testing tool gcov"
|
||||
HOMEPAGE="http://ltp.sourceforge.net/coverage/lcov.php"
|
||||
SRC_URI="mirror://sourceforge/ltp/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~ppc x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=">=dev-lang/perl-5
|
||||
dev-perl/GD[png]"
|
||||
|
||||
src_prepare() {
|
||||
epatch ${FILESDIR}/geninfo-gcov_4.6_compat.patch
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake PREFIX="${D}" install || die "install failed"
|
||||
}
|
@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>dev-tools</herd>
|
||||
<upstream>
|
||||
<remote-id type="sourceforge">ltp</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
Loading…
Reference in New Issue
Block a user