diff options
Diffstat (limited to 'debian/patches/cdda')
-rw-r--r-- | debian/patches/cdda | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/debian/patches/cdda b/debian/patches/cdda new file mode 100644 index 0000000..f3cb3b7 --- /dev/null +++ b/debian/patches/cdda @@ -0,0 +1,34 @@ +The path in Debian really is cdio/paranoia/cdda.h only nowadays + +--- + configure.ac | 2 +- + src/daisy.h | 13 +++++++------ + 2 files changed, 8 insertions(+), 7 deletions(-) + +--- a/configure.ac ++++ b/configure.ac +@@ -45,7 +45,7 @@ AC_CHECK_LIB([pulse], [main]) + # Checks for header files. + AC_CHECK_HEADERS([fcntl.h libintl.h locale.h stdlib.h string.h strings.h \ + sys/ioctl.h unistd.h]) +-#AC_CHECK_HEADERS([cdio/paranoia/cdda.h]) ++AC_CHECK_HEADERS([cdio/paranoia/cdda.h]) + + # Checks for typedefs, structures, and compiler characteristics. + AC_C_INLINE +--- a/src/daisy.h ++++ b/src/daisy.h +@@ -64,6 +58,13 @@ + #undef VERSION + #include "config.h" + ++#ifdef HAVE_CDIO_PARANOIA_CDDA_H ++ #include <cdio/paranoia/paranoia.h> ++#else ++ #include <cdio/cdda.h> ++ #include <cdio/paranoia.h> ++#endif ++ + #define MAX_CMD 512 + #define MAX_STR 256 + #define MAX_TAG 1024 |