summaryrefslogtreecommitdiff
path: root/games/maelstrom/compile_fix.diff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2010-05-12 23:29:26 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-12 23:29:26 +0200
commit1a3537baa7360d5394d9dc1feced739581c40447 (patch)
tree87ecf8bb438ec87ea06da7980f0a78dde8489d95 /games/maelstrom/compile_fix.diff
parentfc32ee20694957df640a5960a4a7fd58efca770b (diff)
downloadslackbuilds-1a3537baa7360d5394d9dc1feced739581c40447.tar.gz
games/maelstrom: Added to 12.2 repository
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
+ );
+ }
+ }