[lcov] Add missing patch

Daniel P. Berrange berrange at fedoraproject.org
Tue Mar 19 13:38:36 UTC 2013


commit 6a6cfeb5ecdf14dbccb14f6c57f63981a6c81db4
Author: Daniel P. Berrange <berrange at redhat.com>
Date:   Tue Mar 19 13:38:24 2013 +0000

    Add missing patch

 lcov-1.10-gcc-47-unreachable.patch |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/lcov-1.10-gcc-47-unreachable.patch b/lcov-1.10-gcc-47-unreachable.patch
new file mode 100644
index 0000000..aa4900f
--- /dev/null
+++ b/lcov-1.10-gcc-47-unreachable.patch
@@ -0,0 +1,12 @@
+diff -rup lcov-1.10/bin/geninfo lcov-1.10.new/bin/geninfo
+--- lcov-1.10/bin/geninfo	2012-10-10 10:15:55.000000000 +0100
++++ lcov-1.10.new/bin/geninfo	2013-03-19 12:09:28.036729208 +0000
+@@ -1833,7 +1833,7 @@ sub read_gcov_file($)
+ 						push(@result, 0);
+ 					} else {
+ 						# Check for zero count
+-						if ($count eq "#####") {
++						if ($count =~ /^[#=]/) {
+ 							$count = 0;
+ 						}
+ 						push(@result, 1);


More information about the scm-commits mailing list