[blfs-support] About audacious-plugins-3.3.3-libcdio_v0.90_fixes-1.patch

Thanos Baloukas baloukasthan at sch.gr
Sat Mar 2 16:14:58 PST 2013


Hi

IIRC, the last time I installed audacious-plugins-3.3.3, the dependency 
on libcdio-0.83
was enough for audacious to be able to play music CDs. Now on another 
system with libcdio-0.90, configure reported that the cdaudio-ng plugin 
would not be built because I lacked libcdio_cdda 0.70 or newer. After a 
research I found that I had to install
libcdio-paranoia-10.2+0.90 which split from libcdio, if I got it right. 
I installed it,
applied the patch, and make failed on src/cdaudio-ng/cdaudio-ng.c
because it couldn't find 'cdio/paranoia/cdda.h'. On my system this file 
was installed
from libcdio-paranoia-10.2+0.90 in /usr/include/cdio and not in
/usr/include/cdio/paranoia. Looking at the patch I saw that it had:

--- a/src/cdaudio-ng/cdaudio-ng.c
+++ b/src/cdaudio-ng/cdaudio-ng.c
@@ -26,11 +26,16 @@
  #include <cdio/cdio.h>
  #include <cdio/cdtext.h>
  #include <cdio/track.h>
-#include <cdio/cdda.h>
  #include <cdio/audio.h>
  #include <cdio/sector.h>
  #include <cdio/cd_types.h>

+#if LIBCDIO_VERSION_NUM >= 90
+#include <cdio/paranoia/cdda.h>
+#else
+#include <cdio/cdda.h>
+#endif
+

On another attempt, after I applied the patch, I commented out the 
unwanted part
lefting the '#include <cdio/cdda.h>' and the built succeeded. Does 
anyone had the same,
or this happened only here? Im building on lfs-SVN-20130213.

Thanos



More information about the blfs-support mailing list