File: disable-arm-asm.patch

package info (click to toggle)
scummvm 1.9.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 151,848 kB
  • ctags: 235,903
  • sloc: cpp: 1,740,551; ansic: 59,113; asm: 28,745; sh: 7,983; python: 4,556; perl: 2,873; xml: 2,450; makefile: 1,120; java: 944; yacc: 411; lex: 221; objc: 81; sed: 22; php: 1
file content (32 lines) | stat: -rw-r--r-- 1,403 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
Last-Update: 2016-03-15
Forwarded: http://sourceforge.net/p/scummvm/bugs/6810/
Bug-Debian: https://bugs.debian.org/779029
From: Konstantinos Margaritis <markos@freevec.org>
Description: disable arm asm
 Disable asm optimizatons for ARM sytems to prevent a crash and
 segmentation fault when running ScummVM on these platforms.

--- a/configure
+++ b/configure
@@ -2196,17 +2196,17 @@
 			arm-apple-darwin11)
 				;;
 
 			*)
-				define_in_config_if_yes yes 'USE_ARM_SCALER_ASM'
+#				define_in_config_if_yes yes 'USE_ARM_SCALER_ASM'
 				# FIXME: The following feature exhibits a bug. It produces distorted
 				# sound since 9003ce517ff9906b0288f9f7c02197fd091d4554. The ARM
 				# assembly will need to be properly adapted to the changes to the C
 				# code in 8f5a7cde2f99de9fef849b0ff688906f05f4643e.
 				# See bug #6957: "AUDIO: ARM ASM sound code causes distorted audio on 32 bit armv6"
-				#define_in_config_if_yes yes 'USE_ARM_SOUND_ASM'
-				define_in_config_if_yes yes 'USE_ARM_SMUSH_ASM'
-				define_in_config_if_yes yes 'USE_ARM_GFX_ASM'
+#				#define_in_config_if_yes yes 'USE_ARM_SOUND_ASM'
+#				define_in_config_if_yes yes 'USE_ARM_SMUSH_ASM'
+#				define_in_config_if_yes yes 'USE_ARM_GFX_ASM'
 				# FIXME: The following feature exhibits a bug during the intro scene of Indy 4
 				# (on Pandora and iPhone at least)
 				#define_in_config_if_yes yes 'USE_ARM_COSTUME_ASM'
 				;;