scummvm/files/sh3-arch-0.9.0+.patch: Patch for sh3 to > 0.9.0 scummvm
authorKristoffer Ericson <kristoffer_e1@hotmail.com>
Sat, 1 Jul 2006 18:42:50 +0000 (18:42 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Sat, 1 Jul 2006 18:42:50 +0000 (18:42 +0000)
* Addition of sh3 arch, should work for after also.

packages/scummvm/files/sh3-arch-0.9.0+.patch [new file with mode: 0644]

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 (file)
index 0000000..3cd0505
--- /dev/null
@@ -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'