commit lcov for openSUSE:Factory
![](https://seccdn.libravatar.org/avatar/e2145bc5cf53dda95c308a3c75e8fef3.jpg?s=120&d=mm&r=g)
Hello community, here is the log from the commit of package lcov for openSUSE:Factory checked in at 2013-01-14 09:43:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/lcov (Old) and /work/SRC/openSUSE:Factory/.lcov.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "lcov", Maintainer is "" Changes: -------- --- /work/SRC/openSUSE:Factory/lcov/lcov.changes 2011-09-23 02:07:39.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.lcov.new/lcov.changes 2013-01-14 09:43:02.000000000 +0100 @@ -1,0 +2,6 @@ +Sun Jan 13 19:32:02 UTC 2013 - vmiklos@suse.cz + +- add lcov-1.9-except-unreach.patch and lcov-1.9-gcc-compat-4.7.patch to make + lcov work with gcc-4.7 + +------------------------------------------------------------------- New: ---- lcov-1.9-except-unreach.patch lcov-1.9-gcc-compat-4.7.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lcov.spec ++++++ --- /var/tmp/diff_new_pack.tvfh0u/_old 2013-01-14 09:43:03.000000000 +0100 +++ /var/tmp/diff_new_pack.tvfh0u/_new 2013-01-14 09:43:03.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package lcov # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,19 +15,19 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - Name: lcov Url: http://ltp.sourceforge.net/coverage/lcov.php +Requires: gcc +Requires: perl-GD +Summary: A Graphical GCOV Front-end License: GPL-2.0+ Group: Development/Tools/Other -Requires: perl-GD gcc -AutoReqProv: on -Summary: A Graphical GCOV Front-end Version: 1.9 -Release: 1 +Release: 0 Source: %{name}-%{version}.tar.bz2 +Patch0: %{name}-%{version}-gcc-compat-4.7.patch +Patch1: %{name}-%{version}-except-unreach.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch Conflicts: kernel-coverage < 0.1-49 @@ -40,6 +40,8 @@ %prep %setup -q -n lcov-%{version} +%patch0 -p1 +%patch1 -p1 %build exit 0 ++++++ lcov-1.9-except-unreach.patch ++++++ Fixes: geninfo: Argument "=====" isn't numeric in numeric gt (>) at /usr/bin/geninfo line 1126. --- lcov.orig/bin/geninfo 2012-03-12 04:26:08.000000000 -0700 +++ lcov/bin/geninfo 2012-06-06 16:54:15.231499893 -0700 @@ -1637,7 +1637,8 @@ push(@result, 0); } else { # Check for zero count - if ($count eq "#####") { + if ($count eq "#####" + or $count eq "=====") { $count = 0; } push(@result, 1); ++++++ lcov-1.9-gcc-compat-4.7.patch ++++++ Fixes: geninfo: ERROR: test.gcno: reached unexpected end of file diff -rup lcov-1.9.orig/bin/geninfo lcov-1.9.new/bin/geninfo --- lcov-1.9.orig/bin/geninfo 2010-08-06 12:05:17.000000000 +0100 +++ lcov-1.9.new/bin/geninfo 2012-03-12 10:59:11.253999711 +0000 @@ -63,6 +63,7 @@ our $lcov_url = "http://ltp.sourceforge our $gcov_tool = "gcov"; our $tool_name = basename($0); +our $GCOV_VERSION_4_7_0 = 0x40700; our $GCOV_VERSION_3_4_0 = 0x30400; our $GCOV_VERSION_3_3_0 = 0x30300; our $GCNO_FUNCTION_TAG = 0x01000000; @@ -2903,6 +2904,10 @@ sub read_gcno_function_record(*$$$$) graph_expect("function record"); # Skip ident and checksum graph_skip($handle, 8, "function ident and checksum") or return undef; + if ($gcov_version >= $GCOV_VERSION_4_7_0) { + # Skip extra word added by android 4.4.0 / gcc >= 4.7 toolchains. + graph_skip($handle, 4, "android_4_4_0 extra word"); + } # Read function name graph_expect("function name"); $function = read_gcno_string($handle, $big_endian); -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de