diff options
author | Koen Kooi <koen@openembedded.org> | 2005-06-30 08:19:37 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2005-06-30 08:19:37 +0000 |
commit | c8e5702127e507e82e6f68a4b8c546803accea9d (patch) | |
tree | 00583491f40ecc640f2b28452af995e3a63a09d7 /packages/scummvm/files | |
parent | 87ec8ca4d2e2eb4d1c1e1e1a6b46a395d56805b9 (diff) |
import clean BK tree at cset 1.3670
Diffstat (limited to 'packages/scummvm/files')
-rw-r--r-- | packages/scummvm/files/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/scummvm/files/mouse.patch | 36 | ||||
-rw-r--r-- | packages/scummvm/files/tremor.patch | 32 |
3 files changed, 68 insertions, 0 deletions
diff --git a/packages/scummvm/files/.mtn2git_empty b/packages/scummvm/files/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/scummvm/files/.mtn2git_empty diff --git a/packages/scummvm/files/mouse.patch b/packages/scummvm/files/mouse.patch index e69de29bb2..1697ac811d 100644 --- a/packages/scummvm/files/mouse.patch +++ b/packages/scummvm/files/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/packages/scummvm/files/tremor.patch b/packages/scummvm/files/tremor.patch index e69de29bb2..3acf302ec8 100644 --- a/packages/scummvm/files/tremor.patch +++ b/packages/scummvm/files/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' |