[Scummvm-cvs-logs] scummvm master -> 27abec484967403e083f18cd4f94ec70c22305bf
digitall
dgturner at iee.org
Sun Mar 10 22:41:35 CET 2013
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
27abec4849 BUILD: Add fix for "Illegal instruction: 4" on iPhone 5 and iPad 4.
Commit: 27abec484967403e083f18cd4f94ec70c22305bf
https://github.com/scummvm/scummvm/commit/27abec484967403e083f18cd4f94ec70c22305bf
Author: D G Turner (digitall at scummvm.org)
Date: 2013-03-10T14:32:42-07:00
Commit Message:
BUILD: Add fix for "Illegal instruction: 4" on iPhone 5 and iPad 4.
This binary patch fix is intended to allow testing in the interim on
A6/A6X devices until the OSX porter updates the toolchains to cope with
the newer iOS devices.
Changed paths:
ports.mk
diff --git a/ports.mk b/ports.mk
index f6a5a2b..7a3bf0f 100644
--- a/ports.mk
+++ b/ports.mk
@@ -86,6 +86,12 @@ endif
cp $(srcdir)/dists/iphone/icon.png $(bundle_name)/
cp $(srcdir)/dists/iphone/icon-72.png $(bundle_name)/
cp $(srcdir)/dists/iphone/Default.png $(bundle_name)/
+ # Binary patch workaround for Iphone 5/IPad 4 "Illegal instruction: 4" toolchain issue (http://code.google.com/p/iphone-gcc-full/issues/detail?id=6)
+ cp scummvm scummvm-iph5
+ sed -i'' 's/\x00\x30\x93\xe4/\x00\x30\x93\xe5/g;s/\x00\x30\xd3\xe4/\x00\x30\xd3\xe5/g;' scummvm-iph5
+ ldid -S scummvm-iph5
+ chmod 755 scummvm-iph5
+ cp scummvm-iph5 $(bundle_name)/ScummVM-iph5
# Location of static libs for the iPhone
ifneq ($(BACKEND), iphone)
More information about the Scummvm-git-logs
mailing list