diff options
author | Graeme Gregory <dp@xora.org.uk> | 2005-11-08 15:33:09 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2005-11-08 15:33:09 +0000 |
commit | b3a31833e37a8134294fb0c9a2f66aab74859813 (patch) | |
tree | 54a1495c18e54ad1095e2021740b339708a4cf38 /packages/mplayer/mplayer-atty-1.1.5 | |
parent | 64774693864c744434c5cf608d9f1a896a0db485 (diff) |
mplayer-atty-1.1.5 : Enable ALSA
A small hack required to the configure file as it tries to run a program
to determine which version of alsa is installed. Have put this to a fixed
version as OE only has 1.0+ in it.
Diffstat (limited to 'packages/mplayer/mplayer-atty-1.1.5')
-rw-r--r-- | packages/mplayer/mplayer-atty-1.1.5/alsa-configure.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/packages/mplayer/mplayer-atty-1.1.5/alsa-configure.patch b/packages/mplayer/mplayer-atty-1.1.5/alsa-configure.patch new file mode 100644 index 0000000000..ad6d4504e1 --- /dev/null +++ b/packages/mplayer/mplayer-atty-1.1.5/alsa-configure.patch @@ -0,0 +1,37 @@ +--- mplayer-1.1.5/configure.orig 2005-11-08 15:07:52.000000000 +0000 ++++ mplayer-1.1.5/configure 2005-11-08 15:08:40.000000000 +0000 +@@ -4627,33 +4627,7 @@ + echocheck "ALSA audio" + if test "$_alsa" != no ; then + _alsa=no +- cat > $TMPC << EOF +-#include <sys/asoundlib.h> +-int main(void) { return (!(SND_LIB_MAJOR==0 && SND_LIB_MINOR==5)); } +-EOF +- cc_check -lasound $_ld_dl $_ld_pthread && $TMPO && _alsaver='0.5.x' +- +- cat > $TMPC << EOF +-#include <sys/asoundlib.h> +-int main(void) { return (!(SND_LIB_MAJOR==0 && SND_LIB_MINOR==9)); } +-EOF +- cc_check -lasound $_ld_dl $_ld_pthread && $TMPO && _alsaver='0.9.x-sys' +- cat > $TMPC << EOF +-#include <alsa/asoundlib.h> +-int main(void) { return (!(SND_LIB_MAJOR==0 && SND_LIB_MINOR==9)); } +-EOF +- cc_check -lasound $_ld_dl $_ld_pthread && $TMPO && _alsaver='0.9.x-alsa' +- +- cat > $TMPC << EOF +-#include <sys/asoundlib.h> +-int main(void) { return (!(SND_LIB_MAJOR==1 && SND_LIB_MINOR==0)); } +-EOF +- cc_check -lasound $_ld_dl $_ld_pthread && $TMPO && _alsaver='1.0.x-sys' +- cat > $TMPC << EOF +-#include <alsa/asoundlib.h> +-int main(void) { return (!(SND_LIB_MAJOR==1 && SND_LIB_MINOR==0)); } +-EOF +- cc_check -lasound $_ld_dl $_ld_pthread && $TMPO && _alsaver='1.0.x-alsa' ++ _alsaver='1.0.x-alsa' + fi + _def_alsa5='#undef HAVE_ALSA5' + _def_alsa9='#undef HAVE_ALSA9' |