summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2019-07-10 02:10:12 -0600
committerTim Harder <radhermit@gentoo.org>2019-07-10 02:13:51 -0600
commit0568ae6dc56356713ac50cfb05230ceefb2e576c (patch)
tree4bdf756796e2f7367fe232dc6f4bd5f2f5301fa4 /media-sound/audiotools
parentdev-perl/Net-SSLeay: Bump version to 1.880.0 (diff)
downloadgentoo-0568ae6dc56356713ac50cfb05230ceefb2e576c.tar.gz
gentoo-0568ae6dc56356713ac50cfb05230ceefb2e576c.tar.bz2
gentoo-0568ae6dc56356713ac50cfb05230ceefb2e576c.zip
media-sound/audiotools: fix build with older libcdio-paranoia versions
Closes: https://bugs.gentoo.org/689580 Signed-off-by: Tim Harder <radhermit@gentoo.org>
Diffstat (limited to 'media-sound/audiotools')
-rw-r--r--media-sound/audiotools/files/audiotools-3.1.1-libcdio-paranoia.patch15
1 files changed, 9 insertions, 6 deletions
diff --git a/media-sound/audiotools/files/audiotools-3.1.1-libcdio-paranoia.patch b/media-sound/audiotools/files/audiotools-3.1.1-libcdio-paranoia.patch
index 1081149641a6..f0ac41661d9d 100644
--- a/media-sound/audiotools/files/audiotools-3.1.1-libcdio-paranoia.patch
+++ b/media-sound/audiotools/files/audiotools-3.1.1-libcdio-paranoia.patch
@@ -1,4 +1,4 @@
-Add support for Gentoo's newer dev-libs/libcdio-paranoia file layout and
+Add support for Gentoo's dev-libs/libcdio-paranoia file layout and
versioning.
--- audiotools-3.1.1/setup.py
@@ -20,14 +20,17 @@ versioning.
# library not found
--- audiotools-3.1.1/src/cdiomodule.h
+++ audiotools-3.1.1/src/cdiomodule.h
-@@ -3,8 +3,8 @@
- #include <cdio/cdda.h>
- #include <cdio/paranoia.h>
- #else
+@@ -1,11 +1,6 @@
+ #include <Python.h>
+-#ifdef OLD_PARANOIA
+-#include <cdio/cdda.h>
+-#include <cdio/paranoia.h>
+-#else
-#include <cdio/cdparanoia/cdda.h>
-#include <cdio/cdparanoia/paranoia.h>
+-#endif
+#include <cdio/paranoia/cdda.h>
+#include <cdio/paranoia/paranoia.h>
- #endif
/********************************************************
+ Audio Tools, a module and set of tools for manipulating audio data