Package: supercollider Version: 1:3.4.4-2 Severity: normal Tags: patch User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu precise ubuntu-patch
Dear Maintainer, In Ubuntu, supercollider is FTBFS on powerpc. This seems to be an old problem, mentioned on the sc-users mailing list in 2010. https://launchpadlibrarian.net/85153649/buildlog_ubuntu-precise-powerpc.supercollider_1%3A3.4.4-2ubuntu1_FAILEDTOBUILD.txt.gz http://www.listarc.bham.ac.uk/lists/sc-users-2008/msg62313.html I've include the patch from the mailing list in Ubuntu and it seems to fix the issue. Thanks for considering the patch. -- System Information: Debian Release: wheezy/sid APT prefers precise-updates APT policy: (500, 'precise-updates'), (500, 'precise-security'), (500, 'precise') Architecture: i386 (i686) Kernel: Linux 3.1.0-2-generic-pae (SMP w/4 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
diff -Nru supercollider-3.4.4/debian/patches/ppc_altivec.patch supercollider-3.4.4/debian/patches/ppc_altivec.patch --- supercollider-3.4.4/debian/patches/ppc_altivec.patch 1969-12-31 19:00:00.000000000 -0500 +++ supercollider-3.4.4/debian/patches/ppc_altivec.patch 2011-11-15 13:12:03.000000000 -0500 @@ -0,0 +1,30 @@ +Description: Include altivec.h on powerpc, fixing FTBFS +Origin: http://www.listarc.bham.ac.uk/lists/sc-users-2008/msg62313.html +From: dmotd <inaudible@xxxxxxxxxxxxxxxxxxx> + +Index: supercollider-3.4.4/common/Headers/common/SC_Altivec.h +=================================================================== +--- supercollider-3.4.4.orig/common/Headers/common/SC_Altivec.h 2011-07-01 04:33:12.000000000 -0400 ++++ supercollider-3.4.4/common/Headers/common/SC_Altivec.h 2011-11-15 13:08:40.002436024 -0500 +@@ -21,7 +21,7 @@ + #ifndef _SC_Altivec_ + #define _SC_Altivec_ + +-#if defined(__ALTIVEC__) && !defined(__APPLE_ALTIVEC__) ++#if defined(HAS_ALTIVEC) || defined(__ALTIVEC__) && !defined(__APPLE_ALTIVEC__) + # include <altivec.h> + /* From <altivec.h>: + You are allowed to undef these for C++ compatibility. */ +Index: supercollider-3.4.4/common/SConstruct +=================================================================== +--- supercollider-3.4.4.orig/common/SConstruct 2011-11-15 11:26:08.000000000 -0500 ++++ supercollider-3.4.4/common/SConstruct 2011-11-15 13:08:25.462435871 -0500 +@@ -603,7 +603,7 @@ + libraries['altivec'] = env.Clone() + libraries['altivec'].Append( + CCFLAGS = altivec_flags, +- CPPDEFINES = [('SC_MEMORY_ALIGNMENT', 16)]) ++ CPPDEFINES = [('SC_MEMORY_ALIGNMENT', 16), 'HAS_ALTIVEC']) + altiConf = Configure(libraries['altivec']) + features['altivec'] = altiConf.CheckCHeader('altivec.h') + altiConf.Finish() diff -Nru supercollider-3.4.4/debian/patches/series supercollider-3.4.4/debian/patches/series --- supercollider-3.4.4/debian/patches/series 2011-11-14 17:37:15.000000000 -0500 +++ supercollider-3.4.4/debian/patches/series 2011-11-15 13:07:50.000000000 -0500 @@ -4,3 +4,4 @@ 07_deb_sced.diff 10_fix_rpath.diff fix-build.patch +ppc_altivec.patch