summaryrefslogtreecommitdiffstats
path: root/games/maelstrom/compile_fix.diff
diff options
context:
space:
mode:
Diffstat (limited to 'games/maelstrom/compile_fix.diff')
-rw-r--r--games/maelstrom/compile_fix.diff14
1 files changed, 14 insertions, 0 deletions
diff --git a/games/maelstrom/compile_fix.diff b/games/maelstrom/compile_fix.diff
new file mode 100644
index 0000000000..6570dee650
--- /dev/null
+++ b/games/maelstrom/compile_fix.diff
@@ -0,0 +1,14 @@
+diff -Naur Maelstrom-3.0.6/screenlib/SDL_FrameBuf.cpp Maelstrom-3.0.6.patched/screenlib/SDL_FrameBuf.cpp
+--- Maelstrom-3.0.6/screenlib/SDL_FrameBuf.cpp 2001-07-22 17:03:13.000000000 -0400
++++ Maelstrom-3.0.6.patched/screenlib/SDL_FrameBuf.cpp 2009-04-14 14:15:49.000000000 -0400
+@@ -848,8 +848,8 @@
+ for ( i=0; i<dirtymaplen; ++i ) {
+ if ( dirtymap[i] != NULL ) {
+ dirtymap[i] = (SDL_Rect *)(
+- ((int)dirtymap[i]-(int)updatelist) +
+- (int)newlist
++ ((long)dirtymap[i]-(long)updatelist) +
++ (long)newlist
+ );
+ }
+ }