From b489e053a8f6288f335a945f0f7780cafaa5e3f1 Mon Sep 17 00:00:00 2001 From: Kristoffer Ericson Date: Sat, 1 Jul 2006 18:42:50 +0000 Subject: 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. --- packages/scummvm/files/sh3-arch-0.9.0+.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 packages/scummvm/files/sh3-arch-0.9.0+.patch (limited to 'packages/scummvm') 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' -- cgit 1.2.3-korg