]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/scummvm/scummvm-0.6.0/tremor.patch
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / scummvm / scummvm-0.6.0 / tremor.patch
1 --- ./sound/vorbis.cpp.old      2004-05-16 04:23:59.000000000 +0930
2 +++ ./sound/vorbis.cpp  2004-05-16 04:24:23.000000000 +0930
3 @@ -29,7 +29,7 @@
4  #include "sound/audiostream.h"
5  #include "sound/audiocd.h"
6  
7 -#include <vorbis/vorbisfile.h>
8 +#include <tremor/ivorbisfile.h>
9  
10  
11  AudioStream *makeVorbisStream(OggVorbis_File *file, int duration);
12 --- ./configure.old     2004-05-16 04:46:47.000000000 +0930
13 +++ ./configure 2004-05-16 04:50:42.000000000 +0930
14 @@ -560,15 +560,15 @@
15  if test "$_vorbis" = auto ; then
16    _vorbis=no
17    cat > $TMPC << EOF
18 -#include <vorbis/codec.h>
19 +#include <tremor/ivorbiscodec.h>
20  int main(void) { vorbis_packet_blocksize(0,0); return 0; }
21  EOF
22    cc_check $LDFLAGS $CXXFLAGS $OGG_CFLAGS $OGG_LIBS $VORBIS_CFLAGS $VORBIS_LIBS \
23 -  -lvorbis -logg -lm && _vorbis=yes
24 +  -lvorbisidec -logg -lm && _vorbis=yes
25  fi
26  if test "$_vorbis" = yes ; then
27    _def_vorbis='#define USE_VORBIS'
28 -  LIBS="$LIBS $OGG_LIBS $VORBIS_LIBS -lvorbisfile -lvorbis -logg"
29 +  LIBS="$LIBS $OGG_LIBS $VORBIS_LIBS -lvorbisidec -logg"
30    INCLUDES="$INCLUDES $OGG_CFLAGS $VORBIS_CFLAGS"
31  else
32    _def_vorbis='#undef USE_VORBIS'