summaryrefslogtreecommitdiff
path: root/games/sms_sdl/patches/x86_64.diff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2014-01-14 23:15:36 +0700
committerErik Hanson <erik@slackbuilds.org>2014-01-29 23:21:01 -0600
commit8f4f40dc37c0553293567fe33a87a6d26762cd81 (patch)
tree0ae069615fc6aa61530191363bb4d473a98ba6f4 /games/sms_sdl/patches/x86_64.diff
parentad722f51d0dc2d2b4bc7f3142ad4acbb90499a72 (diff)
downloadslackbuilds-8f4f40dc37c0553293567fe33a87a6d26762cd81.tar.gz
games/sms_sdl: Added (A Sega Master System and Game Gear Emulator).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/sms_sdl/patches/x86_64.diff')
-rw-r--r--games/sms_sdl/patches/x86_64.diff29
1 files changed, 29 insertions, 0 deletions
diff --git a/games/sms_sdl/patches/x86_64.diff b/games/sms_sdl/patches/x86_64.diff
new file mode 100644
index 0000000000..d18a49910f
--- /dev/null
+++ b/games/sms_sdl/patches/x86_64.diff
@@ -0,0 +1,29 @@
+diff -Naur sms_sdl-0.9.4a-r7.1/sdl/Makefile sms_sdl-0.9.4a-r7.1.patched/sdl/Makefile
+--- sms_sdl-0.9.4a-r7.1/sdl/Makefile 2009-09-30 18:39:29.000000000 -0400
++++ sms_sdl-0.9.4a-r7.1.patched/sdl/Makefile 2009-09-30 18:40:10.000000000 -0400
+@@ -13,7 +13,7 @@
+
+ CC = gcc
+ CFLAGS = `sdl-config --cflags` $(OPTFLAGS)
+-DEFINES = -DLSB_FIRST -DX86_ASM
++DEFINES = -DLSB_FIRST
+ INCLUDES = -I. -I.. -I../cpu -I../sound
+ LIBS = `sdl-config --libs`
+
+diff -Naur sms_sdl-0.9.4a-r7.1/types.h sms_sdl-0.9.4a-r7.1.patched/types.h
+--- sms_sdl-0.9.4a-r7.1/types.h 2003-01-07 12:37:58.000000000 -0500
++++ sms_sdl-0.9.4a-r7.1.patched/types.h 2009-09-30 18:40:19.000000000 -0400
+@@ -4,11 +4,11 @@
+
+ typedef unsigned char uint8;
+ typedef unsigned short int uint16;
+-typedef unsigned long int uint32;
++typedef unsigned int uint32;
+
+ typedef signed char int8;
+ typedef signed short int int16;
+-typedef signed long int int32;
++typedef signed int int32;
+
+ #endif /* _TYPES_H_ */
+