scummvm: target check too restrictive. Ease up. Closes bugs 3522, 3594, 3572, 4028...
authorRolf Leggewie <oe-devel@rolf.leggewie.biz>
Tue, 6 May 2008 23:26:29 +0000 (23:26 +0000)
committerRolf Leggewie <oe-devel@rolf.leggewie.biz>
Tue, 6 May 2008 23:26:29 +0000 (23:26 +0000)
packages/scummvm/files/scummvm-targetcheck.patch [new file with mode: 0644]
packages/scummvm/scummvm_0.9.1.bb

diff --git a/packages/scummvm/files/scummvm-targetcheck.patch b/packages/scummvm/files/scummvm-targetcheck.patch
new file mode 100644 (file)
index 0000000..4b0b0ed
--- /dev/null
@@ -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
index 41c7832..39f3a76 100644 (file)
@@ -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"