summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-mathematics/sage/files/sage-4.5.2-ecls_ppc.patch')
-rw-r--r--sci-mathematics/sage/files/sage-4.5.2-ecls_ppc.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/sci-mathematics/sage/files/sage-4.5.2-ecls_ppc.patch b/sci-mathematics/sage/files/sage-4.5.2-ecls_ppc.patch
new file mode 100644
index 0000000..5f173bb
--- /dev/null
+++ b/sci-mathematics/sage/files/sage-4.5.2-ecls_ppc.patch
@@ -0,0 +1,10 @@
+--- module_list.py.orig 2010-08-30 22:48:44.781370340 +1200
++++ module_list.py 2010-08-30 22:54:58.297371782 +1200
+@@ -459,6 +459,7 @@
+ sources = ["sage/libs/ecl.pyx"],
+ libraries = ["ecl"],
+ include_dirs = [SAGE_ROOT+'/local/include/ecl/'],
++ extra_compile_args=["-mno-altivec", "-mabi=no-altivec"],
+ depends = [SAGE_ROOT + '/local/include/ecl/ecl.h']),
+
+ Extension('sage.libs.flint.flint',