From: "Zac Medico" <zmedico@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/lcov/
Date: Wed, 27 Nov 2019 01:12:39 +0000 (UTC) [thread overview]
Message-ID: <1574817153.089acd4f622ce6a71cd4c8bcf438987a74d53ef4.zmedico@gentoo> (raw)
commit: 089acd4f622ce6a71cd4c8bcf438987a74d53ef4
Author: Nick H <gerkola <AT> gmail <DOT> com>
AuthorDate: Thu Aug 22 05:47:05 2019 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Wed Nov 27 01:12:33 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=089acd4f
dev-util/lcov: use debian patches for 1.14_p2
This adds upstream patches (packaged by debian) needed for gcc-9
support to 1.14 since upstream does not plan on making new releases
soon[1] and other distros seem to have included relevant changes in
their 1.14 packages[2][3].
Closes: https://github.com/gentoo/gentoo/pull/12760
Signed-off-by: Nick Herman <gerkola <AT> gmail.com>
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>
dev-util/lcov/Manifest | 1 +
dev-util/lcov/lcov-1.14_p2.ebuild | 60 +++++++++++++++++++++++++++++++++++++++
2 files changed, 61 insertions(+)
diff --git a/dev-util/lcov/Manifest b/dev-util/lcov/Manifest
index dfcfd8d9e05..3b7c06de814 100644
--- a/dev-util/lcov/Manifest
+++ b/dev-util/lcov/Manifest
@@ -1,2 +1,3 @@
DIST lcov-1.13.tar.gz 156709 BLAKE2B d0f2635a6e6c29d29bd15d15c7f6c22ff80052b12deb4e88c77a9331d6d151aa2718ad4e4af1aa192757c1fc3189cc0d1688fc5086e5552c74078206cf27e1df SHA512 54033c0f99dbf7b332fcd70730df8672713ffc36c010809353dfd83a73fcc4f504b6a68e3b5010002d6992da5fa940a7d5f4e03dc3fe6930ab713a7b980dff9e
DIST lcov-1.14.tar.gz 177359 BLAKE2B 17069d38bf607217b8ff59f573fc02badf56afe65965d2a359a14835af57e2b6c512bff06fac3dbf4e94cd35701216edb8026d333b2baa8772d0ef551de37af1 SHA512 2d60c3a63e300dda96171c432fe304840acc76bf6275f60934d08e80765f9f85671e8b77bfed758fc45842a80156586dc0d67c42c9f215f4f163840fc5cf65bc
+DIST lcov_1.14-2.debian.tar.xz 25740 BLAKE2B ca1a84ed98e0cdd13aae88f0f550cac84f00b3dbf6bd764abe0c7eee7b73c0796abbf20e76cb51707d0d644bb17ee7ad283abbfaa7456dc2a3ade5e12cfbaabc SHA512 10fdb1f82be8cc9aef3b92aa7ca18f2736e5130d8b6ef9703b9444cb88f75f475e8bc48c441ed5cf7e4d11f383c226fc711e8609ea11772b01f454bb6a5bd45a
diff --git a/dev-util/lcov/lcov-1.14_p2.ebuild b/dev-util/lcov/lcov-1.14_p2.ebuild
new file mode 100644
index 00000000000..41677b6255d
--- /dev/null
+++ b/dev-util/lcov/lcov-1.14_p2.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+LCOV_V=${PV/_p*/}
+DB_V=${PV/*_p/}
+
+if [[ ${PV} == "9999" ]] ; then
+ EGIT_REPO_URI="https://github.com/linux-test-project/lcov.git"
+ inherit git-r3
+else
+ SRC_URI="
+ mirror://sourceforge/ltp/${PN}-${LCOV_V}.tar.gz
+ mirror://debian/pool/main/l/${PN}/${PN}_${LCOV_V}-${DB_V}.debian.tar.xz
+ "
+ KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-linux ~x64-macos"
+fi
+
+inherit prefix
+
+DESCRIPTION="A graphical front-end for GCC's coverage testing tool gcov"
+HOMEPAGE="http://ltp.sourceforge.net/coverage/lcov.php"
+
+LICENSE="GPL-2+"
+SLOT="0"
+IUSE="png"
+
+RDEPEND="
+ dev-lang/perl
+ dev-perl/JSON
+ dev-perl/PerlIO-gzip
+ png? ( dev-perl/GD[png] )
+"
+
+PATCHES=(
+ "${WORKDIR}/debian/patches/handle-equals-signs.patch"
+ "${WORKDIR}/debian/patches/fix-undef-behaviour.patch"
+ "${WORKDIR}/debian/patches/reproducibility.patch"
+ "${WORKDIR}/debian/patches/gcc8.patch"
+ "${WORKDIR}/debian/patches/gcc-9-support.patch"
+)
+
+S=${WORKDIR}/${PN}-${LCOV_V}
+
+src_prepare() {
+ default
+ if use prefix; then
+ hprefixify bin/*.{pl,sh}
+ fi
+
+ # Broken by https://github.com/linux-test-project/lcov/commit/75fbae1cfc5027f818a0bb865bf6f96fab3202da
+ rm -rf test/lcov_diff || die
+}
+
+src_compile() { :; }
+
+src_install() {
+ emake PREFIX="${ED}/usr" CFG_DIR="${ED}/etc" install
+}
next reply other threads:[~2019-11-27 1:12 UTC|newest]
Thread overview: 62+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-27 1:12 Zac Medico [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-09-14 21:55 [gentoo-commits] repo/gentoo:master commit in: dev-util/lcov/ James Le Cuirot
2025-08-25 13:51 Sebastian Pipping
2025-07-20 11:17 Andreas K. Hüttel
2025-05-16 10:10 Arthur Zamarin
2025-05-01 16:44 Sam James
2025-05-01 15:56 Sam James
2025-03-30 15:21 Sebastian Pipping
2025-03-14 15:34 Sam James
2025-03-14 8:12 Sam James
2025-01-11 14:42 Jakov Smolić
2025-01-10 4:41 WANG Xuerui
2025-01-10 4:17 Sam James
2025-01-10 4:17 Sam James
2025-01-10 4:17 Sam James
2025-01-09 23:41 Sebastian Pipping
2025-01-08 15:04 Jakov Smolić
2025-01-08 13:27 Jakov Smolić
2025-01-07 19:51 Sam James
2025-01-07 19:30 Arthur Zamarin
2025-01-07 18:54 Sam James
2025-01-07 18:54 Sam James
2025-01-07 18:30 Sam James
2025-01-07 18:30 Sam James
2025-01-07 1:51 Sebastian Pipping
2025-01-07 1:16 Sebastian Pipping
2025-01-06 20:53 Sebastian Pipping
2025-01-06 18:08 Sebastian Pipping
2025-01-06 17:32 Sebastian Pipping
2024-05-01 8:44 Sam James
2024-01-25 13:44 Sam James
2023-10-14 1:38 Sam James
2023-10-12 5:34 Sam James
2023-10-12 5:28 Sam James
2023-10-12 5:28 Sam James
2021-11-19 8:34 Sam James
2021-08-29 8:37 Marek Szuba
2020-09-29 6:37 Joonas Niilola
2020-09-29 6:37 Joonas Niilola
2020-05-01 8:40 Mart Raudsepp
2019-11-14 0:47 Aaron Bauman
2019-07-18 7:45 Michał Górny
2019-05-22 5:49 Aaron Bauman
2019-03-25 23:18 Patrick McLean
2018-10-22 20:07 Michał Górny
2018-10-22 20:07 Michał Górny
2018-10-22 20:07 Michał Górny
2018-10-22 20:07 Michał Górny
2018-10-22 20:07 Michał Górny
2018-04-18 7:01 Mart Raudsepp
2018-03-28 20:55 Matt Turner
2018-03-06 14:43 Guilherme Amadio
2018-03-01 18:43 Michał Górny
2018-02-11 10:53 Michał Górny
2017-07-19 16:31 Patrice Clement
2017-07-19 15:51 Patrice Clement
2017-05-06 2:05 Michael Orlitzky
2017-05-01 22:34 Sebastian Pipping
2017-02-02 12:26 Manuel Rüger
2017-02-02 12:26 Manuel Rüger
2017-01-14 13:26 Jeroen Roovers
2017-01-06 13:32 Tobias Klausmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1574817153.089acd4f622ce6a71cd4c8bcf438987a74d53ef4.zmedico@gentoo \
--to=zmedico@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox