Hello community,

here is the log from the commit of package lcov.1336 for openSUSE:12.2:Update 
checked in at 2013-02-19 12:00:39
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:12.2:Update/lcov.1336 (Old)
 and      /work/SRC/openSUSE:12.2:Update/.lcov.1336.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "lcov.1336", Maintainer is ""

Changes:
--------
New Changes file:

--- /dev/null   2013-02-09 11:18:20.872010756 +0100
+++ /work/SRC/openSUSE:12.2:Update/.lcov.1336.new/lcov.changes  2013-02-19 
12:00:41.000000000 +0100
@@ -0,0 +1,38 @@
+-------------------------------------------------------------------
+Wed Feb 13 14:04:04 UTC 2013 - [email protected]
+
+- add lcov-1.9-except-unreach.patch and lcov-1.9-gcc-compat-4.7.patch to make
+  lcov work with gcc-4.7 (bnc#781483)
+
+-------------------------------------------------------------------
+Mon Jan 10 19:02:27 UTC 2011 - [email protected]
+
+- Update to version 1.9 
+  + geninfo now prints debugging messages to stderr instead of
+    stdout.
+  + Some fixes.
+  + Added a --list-full-path option for lcov.
+  + Added lcov_list_width and lcov_list_truncate_max directives to
+    the lcov configuration file to allow for list output
+    customization.
+  + Improved lcov's list output.
+
+-------------------------------------------------------------------
+Sun Feb  7 19:49:15 UTC 2010 - [email protected]
+
+- Update to version 1.8
+  + Added support for branch coverage measurements
+  + Bug fixes
+  + genhtml: Added --demangle-cpp option, improved color legend
+  + genhtml: Improved coverage rate limits
+  + geninfo: Added --derive-func-data and --debug options
+  + geninfo: Added support for exclusion markers to exclude source lines
+  + lcov: Added support for the linux-2.6.31 upstream gcov kernel support
+  + lcov: Added --from-package, --to-package and --derive-func-data options
+  + lcov: Added overall coverage result output for more operations
+
+-------------------------------------------------------------------
+Thu Sep 24 18:09:00 CEST 2009 - [email protected]
+
+- initial package of lcov (version 1.7)
+

New:
----
  lcov-1.9-except-unreach.patch
  lcov-1.9-gcc-compat-4.7.patch
  lcov-1.9.tar.bz2
  lcov.changes
  lcov.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ lcov.spec ++++++
#
# spec file for package lcov
#
# 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


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
Version:        1.9
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

%description
LCOV is a graphical front-end for GCC's coverage testing tool gcov. It collects
gcov data for multiple source files and creates HTML pages containing the
source code annotated with coverage information. It also adds overview pages
for easy navigation within the file structure.

%prep
%setup -q -n lcov-%{version}
%patch0 -p1
%patch1 -p1

%build
exit 0

%install
make install PREFIX=$RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(644,root,root)
%config /etc/lcovrc
%doc /usr/share/man/man1/lcov.1.gz
%doc /usr/share/man/man1/genhtml.1.gz
%doc /usr/share/man/man1/geninfo.1.gz
%doc /usr/share/man/man1/genpng.1.gz
%doc /usr/share/man/man1/gendesc.1.gz
%doc /usr/share/man/man5/lcovrc.5.gz
%defattr(-,root,root)
/usr/bin/lcov                                
/usr/bin/genhtml                             
/usr/bin/geninfo                             
/usr/bin/genpng                              
/usr/bin/gendesc                             

%changelog
++++++ 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to