summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-10-31 14:41:14 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-10-31 14:41:14 +0000
commit4377ff671b55eced18fb6bf7b29e4f96106e4ac0 (patch)
treecd6a0686df6b1bc54222a5e7620d89251335a010 /media-sound/milkytracker/files
parentVersion bump: 2.3.5 is released. Bug #340113 (diff)
downloadgentoo-2-4377ff671b55eced18fb6bf7b29e4f96106e4ac0.tar.gz
gentoo-2-4377ff671b55eced18fb6bf7b29e4f96106e4ac0.tar.bz2
gentoo-2-4377ff671b55eced18fb6bf7b29e4f96106e4ac0.zip
Version bump wrt #301891 by "hiyuh" and Kim Nilsson.
(Portage version: 2.2.0_alpha1/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/milkytracker/files')
-rw-r--r--media-sound/milkytracker/files/milkytracker-0.90.85-64bit.patch46
1 files changed, 46 insertions, 0 deletions
diff --git a/media-sound/milkytracker/files/milkytracker-0.90.85-64bit.patch b/media-sound/milkytracker/files/milkytracker-0.90.85-64bit.patch
new file mode 100644
index 000000000000..971d9a8efbaf
--- /dev/null
+++ b/media-sound/milkytracker/files/milkytracker-0.90.85-64bit.patch
@@ -0,0 +1,46 @@
+http://bugs.gentoo.org/301891
+
+--- src/tracker/sdl/SDL_Main.cpp
++++ src/tracker/sdl/SDL_Main.cpp
+@@ -751,8 +751,8 @@
+ case SDLUserEventLMouseRepeat:
+ {
+ PPPoint p;
+- p.x = (pp_int32)event.data1;
+- p.y = (pp_int32)event.data2;
++ p.x = reinterpret_cast<intptr_t> (event.data1);
++ p.y = reinterpret_cast<intptr_t> (event.data2);
+ PPEvent myEvent(eLMouseRepeat, &p, sizeof(PPPoint));
+ RaiseEventSerialized(&myEvent);
+ break;
+@@ -761,8 +761,8 @@
+ case SDLUserEventRMouseRepeat:
+ {
+ PPPoint p;
+- p.x = (pp_int32)event.data1;
+- p.y = (pp_int32)event.data2;
++ p.x = reinterpret_cast<intptr_t> (event.data1);
++ p.y = reinterpret_cast<intptr_t> (event.data2);
+ PPEvent myEvent(eRMouseRepeat, &p, sizeof(PPPoint));
+ RaiseEventSerialized(&myEvent);
+ break;
+@@ -770,8 +770,8 @@
+
+ case SDLUserEventMidiKeyDown:
+ {
+- pp_int32 note = (pp_int32)event.data1;
+- pp_int32 volume = (pp_int32)event.data2;
++ pp_int32 note = reinterpret_cast<intptr_t> (event.data1);
++ pp_int32 volume = reinterpret_cast<intptr_t> (event.data2);
+ globalMutex->lock();
+ myTracker->sendNoteDown(note, volume);
+ globalMutex->unlock();
+@@ -780,7 +780,7 @@
+
+ case SDLUserEventMidiKeyUp:
+ {
+- pp_int32 note = (pp_int32)event.data1;
++ pp_int32 note = reinterpret_cast<intptr_t> (event.data1);
+ globalMutex->lock();
+ myTracker->sendNoteUp(note);
+ globalMutex->unlock();