summaryrefslogtreecommitdiff
path: root/packages/scummvm
diff options
context:
space:
mode:
authorKristoffer Ericson <kristoffer_e1@hotmail.com>2006-07-01 18:42:50 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-07-01 18:42:50 +0000
commitb489e053a8f6288f335a945f0f7780cafaa5e3f1 (patch)
tree9b53d8da85168153083e0f6046081523b04ee9f2 /packages/scummvm
parent616d940c6bf364dbc98e6fe9e5ea76ad8f44de39 (diff)
scummvm/files/sh3-arch-0.9.0+.patch: Patch for sh3 to > 0.9.0 scummvm
* Addition of sh3 arch, should work for after also.
Diffstat (limited to 'packages/scummvm')
-rw-r--r--packages/scummvm/files/sh3-arch-0.9.0+.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/packages/scummvm/files/sh3-arch-0.9.0+.patch b/packages/scummvm/files/sh3-arch-0.9.0+.patch
new file mode 100644
index 0000000000..3cd0505654
--- /dev/null
+++ b/packages/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'