summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/scummvm/files/scummvm-targetcheck.patch12
-rw-r--r--packages/scummvm/scummvm_0.9.1.bb4
2 files changed, 15 insertions, 1 deletions
diff --git a/packages/scummvm/files/scummvm-targetcheck.patch b/packages/scummvm/files/scummvm-targetcheck.patch
new file mode 100644
index 0000000000..4b0b0edc14
--- /dev/null
+++ b/packages/scummvm/files/scummvm-targetcheck.patch
@@ -0,0 +1,12 @@
+diff -uNr scummvm-0.9.1.vanilla/configure scummvm-0.9.1/configure
+--- scummvm-0.9.1.vanilla/configure 2007-12-23 00:08:23.000000000 +0100
++++ scummvm-0.9.1/configure 2007-12-23 00:08:35.000000000 +0100
+@@ -763,7 +763,7 @@
+ type_2_byte='short'
+ type_4_byte='int'
+ ;;
+- arm-linux|arm-*-linux-gnueabi)
++ arm-linux|arm*-linux-gnueabi|arm-*-linux|*-angstrom-linux)
+ echo "Cross-compiling to $_host, forcing endianness, alignment and type sizes"
+ DEFINES="$DEFINES -DUNIX"
+ #not true for all ARM systems, but the interesting ones are all LE. Most (if not all) BE arm devices don't have a screen
diff --git a/packages/scummvm/scummvm_0.9.1.bb b/packages/scummvm/scummvm_0.9.1.bb
index 41c7832acc..39f3a76d14 100644
--- a/packages/scummvm/scummvm_0.9.1.bb
+++ b/packages/scummvm/scummvm_0.9.1.bb
@@ -1,7 +1,9 @@
require scummvm.inc
+
DEPENDS = "virtual/libsdl libmad libvorbis libogg zlib mpeg2dec"
-SRC_URI += "file://makefile-nostrip.patch;patch=1"
+SRC_URI += "file://makefile-nostrip.patch;patch=1 \
+ file://scummvm-targetcheck.patch;patch=1"
SRC_URI_append_openmoko = " file://openmoko-scummvm \
file://scummvm.desktop"