summarylogtreecommitdiffstats
path: root/maelstrom-3.0.6-64bits.patch
diff options
context:
space:
mode:
authorAlexander F Rødseth2015-06-10 14:31:35 +0200
committerAlexander F Rødseth2015-06-10 14:31:35 +0200
commit383d6e9a5a9821d6ee3693062d935f70ea606856 (patch)
tree1c5038160d120fd9c121e5fc7cd5ebaf6e70acc0 /maelstrom-3.0.6-64bits.patch
downloadaur-383d6e9a5a9821d6ee3693062d935f70ea606856.tar.gz
Initial import
Diffstat (limited to 'maelstrom-3.0.6-64bits.patch')
-rw-r--r--maelstrom-3.0.6-64bits.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/maelstrom-3.0.6-64bits.patch b/maelstrom-3.0.6-64bits.patch
new file mode 100644
index 000000000000..bdf04d3ad30d
--- /dev/null
+++ b/maelstrom-3.0.6-64bits.patch
@@ -0,0 +1,15 @@
+--- screenlib/SDL_FrameBuf.cpp.old 2006-10-25 22:37:21.000000000 +0200
++++ screenlib/SDL_FrameBuf.cpp 2006-10-25 22:38:26.000000000 +0200
+@@ -847,10 +847,8 @@
+ /* Update the dirty rectangle map with the new list */
+ for ( i=0; i<dirtymaplen; ++i ) {
+ if ( dirtymap[i] != NULL ) {
+- dirtymap[i] = (SDL_Rect *)(
+- ((int)dirtymap[i]-(int)updatelist) +
+- (int)newlist
+- );
++ dirtymap[i] = newlist
++ + (dirtymap[i]-updatelist);
+ }
+ }
+ delete[] updatelist;