diff options
author | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
---|---|---|
committer | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
commit | 709c4d66e0b107ca606941b988bad717c0b45d9b (patch) | |
tree | 37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/scummvm/scummvm-0.6.0 | |
parent | fa6cd5a3b993f16c27de4ff82b42684516d433ba (diff) |
rename packages/ to recipes/ per earlier agreement
See links below for more details:
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Acked-by: Mike Westerhof <mwester@dls.net>
Acked-by: Philip Balister <philip@balister.org>
Acked-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Marcin Juszkiewicz <hrw@openembedded.org>
Acked-by: Koen Kooi <koen@openembedded.org>
Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/scummvm/scummvm-0.6.0')
-rw-r--r-- | recipes/scummvm/scummvm-0.6.0/mouse.patch | 36 | ||||
-rw-r--r-- | recipes/scummvm/scummvm-0.6.0/sword1.patch | 16 | ||||
-rw-r--r-- | recipes/scummvm/scummvm-0.6.0/tremor.patch | 32 |
3 files changed, 84 insertions, 0 deletions
diff --git a/recipes/scummvm/scummvm-0.6.0/mouse.patch b/recipes/scummvm/scummvm-0.6.0/mouse.patch new file mode 100644 index 0000000000..1697ac811d --- /dev/null +++ b/recipes/scummvm/scummvm-0.6.0/mouse.patch @@ -0,0 +1,36 @@ +--- ./backends/sdl/sdl-common.cpp~mouse.patch 2004-03-05 07:23:04.000000000 +1030 ++++ ./backends/sdl/sdl-common.cpp 2004-05-16 07:53:24.000000000 +0930 +@@ -866,6 +866,9 @@ + return true; + + case SDL_MOUSEBUTTONDOWN: ++#ifdef QTOPIA ++ event->event_code = EVENT_LBUTTONDOWN; ++#else + if (ev.button.button == SDL_BUTTON_LEFT) + event->event_code = EVENT_LBUTTONDOWN; + else if (ev.button.button == SDL_BUTTON_RIGHT) +@@ -878,18 +881,23 @@ + #endif + else + break; ++#endif + + fillMouseEvent(*event, ev.button.x, ev.button.y); + + return true; + + case SDL_MOUSEBUTTONUP: ++#ifdef QTOPIA ++ event->event_code = EVENT_LBUTTONUP; ++#else + if (ev.button.button == SDL_BUTTON_LEFT) + event->event_code = EVENT_LBUTTONUP; + else if (ev.button.button == SDL_BUTTON_RIGHT) + event->event_code = EVENT_RBUTTONUP; + else + break; ++#endif + fillMouseEvent(*event, ev.button.x, ev.button.y); + + return true; diff --git a/recipes/scummvm/scummvm-0.6.0/sword1.patch b/recipes/scummvm/scummvm-0.6.0/sword1.patch new file mode 100644 index 0000000000..0c934ef20f --- /dev/null +++ b/recipes/scummvm/scummvm-0.6.0/sword1.patch @@ -0,0 +1,16 @@ +--- ./sword1/sword1.cpp.old 2004-05-16 03:17:26.000000000 +0930 ++++ ./sword1/sword1.cpp 2004-05-16 03:12:42.000000000 +0930 +@@ -1061,8 +1061,11 @@ + _systemVars.runningFromCd = true; + _systemVars.currentCD = 2; + test.close(); +- } else +- error("Unable to find files.\nPlease read the instructions again"); ++ } else { ++ _systemVars.runningFromCd = false; ++ _systemVars.playSpeech = false; ++// error("Unable to find files.\nPlease read the instructions again"); ++ } + } + } + diff --git a/recipes/scummvm/scummvm-0.6.0/tremor.patch b/recipes/scummvm/scummvm-0.6.0/tremor.patch new file mode 100644 index 0000000000..3acf302ec8 --- /dev/null +++ b/recipes/scummvm/scummvm-0.6.0/tremor.patch @@ -0,0 +1,32 @@ +--- ./sound/vorbis.cpp.old 2004-05-16 04:23:59.000000000 +0930 ++++ ./sound/vorbis.cpp 2004-05-16 04:24:23.000000000 +0930 +@@ -29,7 +29,7 @@ + #include "sound/audiostream.h" + #include "sound/audiocd.h" + +-#include <vorbis/vorbisfile.h> ++#include <tremor/ivorbisfile.h> + + + AudioStream *makeVorbisStream(OggVorbis_File *file, int duration); +--- ./configure.old 2004-05-16 04:46:47.000000000 +0930 ++++ ./configure 2004-05-16 04:50:42.000000000 +0930 +@@ -560,15 +560,15 @@ + if test "$_vorbis" = auto ; then + _vorbis=no + cat > $TMPC << EOF +-#include <vorbis/codec.h> ++#include <tremor/ivorbiscodec.h> + int main(void) { vorbis_packet_blocksize(0,0); return 0; } + EOF + cc_check $LDFLAGS $CXXFLAGS $OGG_CFLAGS $OGG_LIBS $VORBIS_CFLAGS $VORBIS_LIBS \ +- -lvorbis -logg -lm && _vorbis=yes ++ -lvorbisidec -logg -lm && _vorbis=yes + fi + if test "$_vorbis" = yes ; then + _def_vorbis='#define USE_VORBIS' +- LIBS="$LIBS $OGG_LIBS $VORBIS_LIBS -lvorbisfile -lvorbis -logg" ++ LIBS="$LIBS $OGG_LIBS $VORBIS_LIBS -lvorbisidec -logg" + INCLUDES="$INCLUDES $OGG_CFLAGS $VORBIS_CFLAGS" + else + _def_vorbis='#undef USE_VORBIS' |