[arch-commits] Commit in lcov/repos/community-any (6 files)
Caleb Maclennan
alerque at gemini.archlinux.org
Tue Jun 21 10:21:49 UTC 2022
Date: Tuesday, June 21, 2022 @ 10:21:49
Author: alerque
Revision: 1238817
archrelease: copy trunk to community-any
Added:
lcov/repos/community-any/PKGBUILD
(from rev 1238816, lcov/trunk/PKGBUILD)
lcov/repos/community-any/fix-undef-behaviour.patch
(from rev 1238816, lcov/trunk/fix-undef-behaviour.patch)
lcov/repos/community-any/handle-equals-signs.patch
(from rev 1238816, lcov/trunk/handle-equals-signs.patch)
Deleted:
lcov/repos/community-any/PKGBUILD
lcov/repos/community-any/fix-undef-behaviour.patch
lcov/repos/community-any/handle-equals-signs.patch
---------------------------+
PKGBUILD | 64 +++++++++++++++++++-------------------
fix-undef-behaviour.patch | 74 ++++++++++++++++++++++----------------------
handle-equals-signs.patch | 46 +++++++++++++--------------
3 files changed, 92 insertions(+), 92 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-06-21 10:21:38 UTC (rev 1238816)
+++ PKGBUILD 2022-06-21 10:21:49 UTC (rev 1238817)
@@ -1,32 +0,0 @@
-# Maintainer: Caleb Maclennan <caleb at alerque.com>
-# Contributor: Jordi De Groof <jordi.degroof at gmail.com>
-# Contributor: Andre Klitzing <aklitzing at gmail.com>
-
-pkgname=lcov
-pkgver=1.15
-pkgrel=3
-pkgdesc='front-end for GCC’s coverage testing tool gcov'
-arch=(any)
-url="https://github.com/linux-test-project/$pkgname"
-license=(GPL)
-depends=(perl)
-backup=(etc/lcovrc)
-_archive="$pkgname-$pkgver"
-source=("$url/releases/download/v$pkgver/$_archive.tar.gz"
- handle-equals-signs.patch
- fix-undef-behaviour.patch)
-sha256sums=('c1cda2fa33bec9aa2c2c73c87226cfe97de0831887176b45ee523c5e30f8053a'
- '54728aa4e244d3662c65ba91fb486dc1d5c64d9d55745ee334c4131109dc233c'
- 'ceaf41f7cc9cea5a6fc4b0385ffef10d1ab8812acd2a5b16dcd8d7bca7120488')
-
-prepare() {
- cd "$_archive"
- patch -p1 -i ../handle-equals-signs.patch
- patch -p1 -i ../fix-undef-behaviour.patch
-}
-
-package () {
- cd "$_archive"
- make PREFIX="/usr" CFG_DIR=/etc DESTDIR="$pkgdir" install
-}
-
Copied: lcov/repos/community-any/PKGBUILD (from rev 1238816, lcov/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-06-21 10:21:49 UTC (rev 1238817)
@@ -0,0 +1,32 @@
+# Maintainer: Caleb Maclennan <caleb at alerque.com>
+# Contributor: Jordi De Groof <jordi.degroof at gmail.com>
+# Contributor: Andre Klitzing <aklitzing at gmail.com>
+
+pkgname=lcov
+pkgver=1.16
+pkgrel=1
+pkgdesc='front-end for GCC’s coverage testing tool gcov'
+arch=(any)
+url="https://github.com/linux-test-project/$pkgname"
+license=(GPL)
+depends=(perl)
+backup=(etc/lcovrc)
+_archive="$pkgname-$pkgver"
+source=("$url/releases/download/v$pkgver/$_archive.tar.gz"
+ handle-equals-signs.patch
+ fix-undef-behaviour.patch)
+sha256sums=('987031ad5528c8a746d4b52b380bc1bffe412de1f2b9c2ba5224995668e3240b'
+ '54728aa4e244d3662c65ba91fb486dc1d5c64d9d55745ee334c4131109dc233c'
+ 'ceaf41f7cc9cea5a6fc4b0385ffef10d1ab8812acd2a5b16dcd8d7bca7120488')
+
+prepare() {
+ cd "$_archive"
+ patch -p1 -i ../handle-equals-signs.patch
+ patch -p1 -i ../fix-undef-behaviour.patch
+}
+
+package () {
+ cd "$_archive"
+ make PREFIX="/usr" CFG_DIR=/etc DESTDIR="$pkgdir" install
+}
+
Deleted: fix-undef-behaviour.patch
===================================================================
--- fix-undef-behaviour.patch 2022-06-21 10:21:38 UTC (rev 1238816)
+++ fix-undef-behaviour.patch 2022-06-21 10:21:49 UTC (rev 1238817)
@@ -1,37 +0,0 @@
-Author: Alastair McKinstry <mckinstry at debian.org>
-Description: Fix for undefined behavior in perl5.20
-Origin: http://bugs.debian.org/761308
-Forwarded: no
-Last-Updated: 2014-09-13
-
-Index: lcov-1.12/bin/lcov
-===================================================================
---- lcov-1.12.orig/bin/lcov
-+++ lcov-1.12/bin/lcov
-@@ -224,7 +224,9 @@ Getopt::Long::Configure("default");
- # Remove spaces around rc options
- my %new_opt_rc;
-
-- while (my ($key, $value) = each(%opt_rc)) {
-+ my @keys = keys %opt_rc;
-+ for my $key (@keys) {
-+ my $value = $opt_rc{$key};
- $key =~ s/^\s+|\s+$//g;
- $value =~ s/^\s+|\s+$//g;
-
-Index: lcov-1.12/bin/geninfo
-===================================================================
---- lcov-1.12.orig/bin/geninfo
-+++ lcov-1.12/bin/geninfo
-@@ -284,8 +284,9 @@ Getopt::Long::Configure("default");
- {
- # Remove spaces around rc options
- my %new_opt_rc;
--
-- while (my ($key, $value) = each(%opt_rc)) {
-+ my @keys = keys %opt_rc;
-+ for my $key (@keys) {
-+ my $value = $opt_rc{$key};
- $key =~ s/^\s+|\s+$//g;
- $value =~ s/^\s+|\s+$//g;
-
Copied: lcov/repos/community-any/fix-undef-behaviour.patch (from rev 1238816, lcov/trunk/fix-undef-behaviour.patch)
===================================================================
--- fix-undef-behaviour.patch (rev 0)
+++ fix-undef-behaviour.patch 2022-06-21 10:21:49 UTC (rev 1238817)
@@ -0,0 +1,37 @@
+Author: Alastair McKinstry <mckinstry at debian.org>
+Description: Fix for undefined behavior in perl5.20
+Origin: http://bugs.debian.org/761308
+Forwarded: no
+Last-Updated: 2014-09-13
+
+Index: lcov-1.12/bin/lcov
+===================================================================
+--- lcov-1.12.orig/bin/lcov
++++ lcov-1.12/bin/lcov
+@@ -224,7 +224,9 @@ Getopt::Long::Configure("default");
+ # Remove spaces around rc options
+ my %new_opt_rc;
+
+- while (my ($key, $value) = each(%opt_rc)) {
++ my @keys = keys %opt_rc;
++ for my $key (@keys) {
++ my $value = $opt_rc{$key};
+ $key =~ s/^\s+|\s+$//g;
+ $value =~ s/^\s+|\s+$//g;
+
+Index: lcov-1.12/bin/geninfo
+===================================================================
+--- lcov-1.12.orig/bin/geninfo
++++ lcov-1.12/bin/geninfo
+@@ -284,8 +284,9 @@ Getopt::Long::Configure("default");
+ {
+ # Remove spaces around rc options
+ my %new_opt_rc;
+-
+- while (my ($key, $value) = each(%opt_rc)) {
++ my @keys = keys %opt_rc;
++ for my $key (@keys) {
++ my $value = $opt_rc{$key};
+ $key =~ s/^\s+|\s+$//g;
+ $value =~ s/^\s+|\s+$//g;
+
Deleted: handle-equals-signs.patch
===================================================================
--- handle-equals-signs.patch 2022-06-21 10:21:38 UTC (rev 1238816)
+++ handle-equals-signs.patch 2022-06-21 10:21:49 UTC (rev 1238817)
@@ -1,23 +0,0 @@
-Description: Handle "=====" as another form of zero.
- gcov prints "=====" instead of "######" when an unexecuted line is
- "reachable only by exceptional paths such as C++ exception handlers."
- This should be handled the same as "######" for our purposes.
-Author: Zack Weinberg <zackw at panix.com>
-Last-Update: 2013-02-01
-
-Index: lcov-1.12/bin/geninfo
-===================================================================
---- lcov-1.12.orig/bin/geninfo
-+++ lcov-1.12/bin/geninfo
-@@ -1771,8 +1771,9 @@ sub read_gcov_file($)
- $number = (split(" ",substr($_, 0, 16)))[0];
-
- # Check for zero count which is indicated
-- # by ######
-- if ($number eq "######") { $number = 0; }
-+ # by ###### or =====
-+ if ($number eq "######" or
-+ $number eq "=====") { $number = 0; }
-
- if ($exclude_line) {
- # Register uninstrumented line instead
Copied: lcov/repos/community-any/handle-equals-signs.patch (from rev 1238816, lcov/trunk/handle-equals-signs.patch)
===================================================================
--- handle-equals-signs.patch (rev 0)
+++ handle-equals-signs.patch 2022-06-21 10:21:49 UTC (rev 1238817)
@@ -0,0 +1,23 @@
+Description: Handle "=====" as another form of zero.
+ gcov prints "=====" instead of "######" when an unexecuted line is
+ "reachable only by exceptional paths such as C++ exception handlers."
+ This should be handled the same as "######" for our purposes.
+Author: Zack Weinberg <zackw at panix.com>
+Last-Update: 2013-02-01
+
+Index: lcov-1.12/bin/geninfo
+===================================================================
+--- lcov-1.12.orig/bin/geninfo
++++ lcov-1.12/bin/geninfo
+@@ -1771,8 +1771,9 @@ sub read_gcov_file($)
+ $number = (split(" ",substr($_, 0, 16)))[0];
+
+ # Check for zero count which is indicated
+- # by ######
+- if ($number eq "######") { $number = 0; }
++ # by ###### or =====
++ if ($number eq "######" or
++ $number eq "=====") { $number = 0; }
+
+ if ($exclude_line) {
+ # Register uninstrumented line instead
More information about the arch-commits
mailing list