diff options
author | B. Watson <yalhcru@gmail.com> | 2017-05-31 14:06:28 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-06-03 08:00:22 +0700 |
commit | 8421bc370053d833d438772a2d1ae31d7f2b9bbd (patch) | |
tree | c043786044564fa70e000463b9a5a1a327abd965 /games/opendune/mmx_bodge.diff | |
parent | f8f09fcf2da08a9f802ad2238ad442374935eb9d (diff) | |
download | slackbuilds-8421bc370053d833d438772a2d1ae31d7f2b9bbd.tar.gz |
games/opendune: Fix x86 build.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'games/opendune/mmx_bodge.diff')
-rw-r--r-- | games/opendune/mmx_bodge.diff | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/games/opendune/mmx_bodge.diff b/games/opendune/mmx_bodge.diff new file mode 100644 index 0000000000..e735ed8db3 --- /dev/null +++ b/games/opendune/mmx_bodge.diff @@ -0,0 +1,12 @@ +diff -Naur OpenDUNE-0.8/src/video/video_sdl.c OpenDUNE-0.8.patched/src/video/video_sdl.c +--- OpenDUNE-0.8/src/video/video_sdl.c 2016-06-26 17:46:42.000000000 -0400 ++++ OpenDUNE-0.8.patched/src/video/video_sdl.c 2017-05-31 13:27:35.163259001 -0400 +@@ -362,7 +362,7 @@ + *((__m128i *)gfx2) = mh; + gfx2 += 16; + } +-#elif defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__)) ++#elif defined(__GNUC__) && defined(__MMX__) + /* MMX code */ + for (x = SCREEN_WIDTH / 4; x > 0; x--) { + __m64 m; |