summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/libcdaudio/files/libcdaudio-0.99.12-bug245649.patch4
-rw-r--r--media-libs/libcdaudio/libcdaudio-0.99.12-r2.ebuild22
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 988c4c21c85d..e859c0460ec5 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 000000000000..aab9132c9198
--- /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
+}