Package: squeak-vm Version: 1:4.4.7.2357-1 Severity: normal Tags: patch The attached debdiff contains the upstream fix to fix the FTBFS for ARM.
Changelog entry: * Added reenable-gcc-optimisations.patch (Closes: #634240, LP: #791243) Thanks for considering the patch. -- System Information: Debian Release: squeeze/sid
diff -Nru squeak-vm-4.4.7.2357/debian/changelog squeak-vm-4.4.7.2357/debian/changelog diff -Nru squeak-vm-4.4.7.2357/debian/patches/reenable-gcc-optimisations.patch squeak-vm-4.4.7.2357/debian/patches/reenable-gcc-optimisations.patch --- squeak-vm-4.4.7.2357/debian/patches/reenable-gcc-optimisations.patch 1969-12-31 21:00:00.000000000 -0300 +++ squeak-vm-4.4.7.2357/debian/patches/reenable-gcc-optimisations.patch 2011-07-18 03:18:20.000000000 -0300 @@ -0,0 +1,24 @@ +Patch: SVN rev 2374 +http://lists.squeak.org/pipermail/vm-dev/2011-June/008330.html + +Index: unix/plugins/FloatMathPlugin/config.cmake +=================================================================== +--- a/unix/plugins/FloatMathPlugin/config.cmake (revision 2373) ++++ b/unix/plugins/FloatMathPlugin/config.cmake (revision 2374) +@@ -7,10 +7,10 @@ + PLUGIN_DEFINITIONS (-D__LITTLE_ENDIAN=1) + ENDIF () + ++SET (LIBM_CFLAGS "${CMAKE_C_FLAGS}") ++ + # GCC optimizations break fdlibm so disable them for now. +- +-IF (CMAKE_COMPILER_IS_GNUCC) +- SET (LIBM_CFLAGS "${CMAKE_C_FLAGS} -O0 -mno-fused-madd") +-ELSE () +- SET (LIBM_CFLAGS "${CMAKE_C_FLAGS}") +-ENDIF () ++# ++# IF (CMAKE_COMPILER_IS_GNUCC AND CMAKE_SYSTEM_NAME STREQUAL "Linux") ++# SET (LIBM_CFLAGS "${CMAKE_C_FLAGS} -O0 -mno-fused-madd") ++# ENDIF () diff -Nru squeak-vm-4.4.7.2357/debian/patches/series squeak-vm-4.4.7.2357/debian/patches/series --- squeak-vm-4.4.7.2357/debian/patches/series 2011-05-07 15:41:16.000000000 -0300 +++ squeak-vm-4.4.7.2357/debian/patches/series 2011-07-18 03:18:24.000000000 -0300 @@ -2,3 +2,4 @@ mpeg_includes.patch #npsqueak.patch linex.patch +reenable-gcc-optimisations.patch