aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-qtopia/scummvm/files/sh3-arch-0.9.0+.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-qtopia/scummvm/files/sh3-arch-0.9.0+.patch')
-rw-r--r--recipes-qtopia/scummvm/files/sh3-arch-0.9.0+.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/recipes-qtopia/scummvm/files/sh3-arch-0.9.0+.patch b/recipes-qtopia/scummvm/files/sh3-arch-0.9.0+.patch
new file mode 100644
index 0000000..3cd0505
--- /dev/null
+++ b/recipes-qtopia/scummvm/files/sh3-arch-0.9.0+.patch
@@ -0,0 +1,18 @@
+--- scummvm-0.9.0/configure_orig 2006-07-01 18:16:04.000000000 +0000
++++ scummvm-0.9.0/configure 2006-07-01 18:19:09.000000000 +0000
+@@ -762,6 +762,15 @@
+ type_2_byte='short'
+ type_4_byte='int'
+ ;;
++ sh3-linux)
++ echo "Cross-compiling to $_host, forcing endianness, aligment and type sizes"
++ DEFINES="$DEFINES -DUNIX"
++ _def_endianness='#define SCUMM_LITTLE_ENDIAN'
++ _def_align='#define SCUMM_NEED_ALIGMENT'
++ type_1_byte='char'
++ type_2_byte='short'
++ type_4_byte='int'
++ ;;
+ ppc-amigaos)
+ echo "Cross-compiling to $_host, forcing endianness, alignment and type sizes"
+ _def_endianness='#define SCUMM_BIG_ENDIAN'