diff options
Diffstat (limited to 'packages/scummvm')
| -rw-r--r-- | packages/scummvm/files/scummvm-targetcheck.patch | 17 | ||||
| -rw-r--r-- | packages/scummvm/scummvm_0.9.1.bb | 4 |
2 files changed, 20 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..6f245294b4 --- /dev/null +++ b/packages/scummvm/files/scummvm-targetcheck.patch @@ -0,0 +1,17 @@ +upstream: http://sourceforge.net/tracker/index.php?func=detail&aid=1959138&group_id=37116&atid=418820 +status: accepted in revision 31912 (less than an hour for turnaround, fantastic!) +origin: adapted from http://bugs.openembedded.net/show_bug.cgi?id=3522 +comment: the strict check for targets needs to be relaxed to compile for some of OE targets + +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" |
