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
4 #include "sound/audiostream.h"
5 #include "sound/audiocd.h"
7 -#include <vorbis/vorbisfile.h>
8 +#include <tremor/ivorbisfile.h>
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
15 if test "$_vorbis" = auto ; then
18 -#include <vorbis/codec.h>
19 +#include <tremor/ivorbiscodec.h>
20 int main(void) { vorbis_packet_blocksize(0,0); return 0; }
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
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"
32 _def_vorbis='#undef USE_VORBIS'