commit: 2a1cd99f37d7a8dc78a1b78291bb85994d75a334 Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com> AuthorDate: Sat Jul 28 17:34:07 2018 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Sat Aug 11 10:35:10 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a1cd99f
media-libs/libcdaudio: EAPI7, improve ebuild Closes: https://github.com/gentoo/gentoo/pull/9368 Package-Manager: Portage-2.3.45, Repoman-2.3.10 .../files/libcdaudio-0.99.12-bug245649.patch | 4 ++-- media-libs/libcdaudio/libcdaudio-0.99.12-r2.ebuild | 22 ++++++++++++++++++++++ 2 files changed, 24 insertions(+), 2 deletions(-) diff --git a/media-libs/libcdaudio/files/libcdaudio-0.99.12-bug245649.patch b/media-libs/libcdaudio/files/libcdaudio-0.99.12-bug245649.patch index 988c4c21c85..e859c0460ec 100644 --- a/media-libs/libcdaudio/files/libcdaudio-0.99.12-bug245649.patch +++ b/media-libs/libcdaudio/files/libcdaudio-0.99.12-bug245649.patch @@ -1,5 +1,5 @@ ---- src/cddb.c -+++ src/cddb.c +--- a/src/cddb.c ++++ b/src/cddb.c @@ -1679,7 +1679,7 @@ cddb_read_disc_data(int cd_desc, struct disc_data *outdata) free(file); diff --git a/media-libs/libcdaudio/libcdaudio-0.99.12-r2.ebuild b/media-libs/libcdaudio/libcdaudio-0.99.12-r2.ebuild new file mode 100644 index 00000000000..aab9132c919 --- /dev/null +++ b/media-libs/libcdaudio/libcdaudio-0.99.12-r2.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Library of cd audio related routines" +HOMEPAGE="http://libcdaudio.sourceforge.net/" +SRC_URI="mirror://sourceforge/libcdaudio/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="" + +PATCHES=( + "${FILESDIR}"/${PN}-0.99-CAN-2005-0706.patch + "${FILESDIR}"/${P}-bug245649.patch +) + +src_configure() { + econf --enable-threads +}