lcov: Patch geninfo to properly handle gcc-4.7 delimiters
Currently lcov does not handle gcc-4.7 delims of the style "=====", so throws a
bunch of warnings about this. This has been fixed in ToT for lcov so I am cherry
picking the fix. This CL also accounts for the fact that lcov has been updated
to 1.10.
CQ-DEPEND=I438ed95f1adeceab3f4b3272d69ab294a7c0446f
BUG=chromium-os:39216
TEST=Build common.mk package with profiling and tests on and confirmed errors
like the following are gone:
geninfo: Argument "=====" isn't numeric in numeric gt (>) ...
Change-Id: I9b3de36fdda3e25956bdb80bf74147e4073a73e5
Reviewed-on: https://gerrit.chromium.org/gerrit/44171
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Tested-by: Ryan Harrison <rharrison@chromium.org>
diff --git a/dev-util/lcov/lcov-1.10.ebuild b/dev-util/lcov/lcov-1.10.ebuild
new file mode 100644
index 0000000..07896eee
--- /dev/null
+++ b/dev-util/lcov/lcov-1.10.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/lcov/lcov-1.10.ebuild,v 1.1 2013/02/04 08:48:33 patrick 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 ~arm ~ppc ~x86 ~x86-linux ~x64-macos"
+IUSE=""
+
+DEPEND=""
+RDEPEND=">=dev-lang/perl-5
+ dev-perl/GD[png]"
+
+src_prepare() {
+ epatch "${FILESDIR}"/00_geninfo-gcov-4.7_format_parsing.patch
+}
+
+src_compile() { :; }
+
+src_install() {
+ emake PREFIX="${ED}" install
+}