diff --git a/recipes-games/maelstrom/maelstrom/0005-SDL_FrameBuf.cpp-Fix-build-for-64Bit-targets.patch b/recipes-games/maelstrom/maelstrom/0005-SDL_FrameBuf.cpp-Fix-build-for-64Bit-targets.patch new file mode 100644 index 0000000..8765fc1 --- /dev/null +++ b/recipes-games/maelstrom/maelstrom/0005-SDL_FrameBuf.cpp-Fix-build-for-64Bit-targets.patch @@ -0,0 +1,37 @@ +From da490238ae606cc4dcb704fb739d3e6f523b1976 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Andreas=20M=C3=BCller?= +Date: Tue, 27 Oct 2020 19:50:25 +0100 +Subject: [PATCH] SDL_FrameBuf.cpp: Fix build for 64Bit targets +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Stolen from [1] + +[1] https://src.fedoraproject.org/rpms/Maelstrom/blob/master/f/Maelstrom-3.0.6-64bit.patch + +Upstream-Status: Pending + +Signed-off-by: Andreas Müller +--- + screenlib/SDL_FrameBuf.cpp | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/screenlib/SDL_FrameBuf.cpp b/screenlib/SDL_FrameBuf.cpp +index d1e087f..430e903 100644 +--- a/screenlib/SDL_FrameBuf.cpp ++++ b/screenlib/SDL_FrameBuf.cpp +@@ -848,8 +848,8 @@ FrameBuf:: AddDirtyRect(SDL_Rect *rect) + for ( i=0; i