From 90555e629e926633c817230327ff46a911090260 Mon Sep 17 00:00:00 2001 From: Raúl Porcel Date: Wed, 22 Jul 2009 14:25:53 +0000 Subject: Add patch to fix compilation on alpha Package-Manager: portage-2.1.6.13/cvs/Linux ia64 --- dev-python/numpy/files/numpy-1.3.0-alpha.patch | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 dev-python/numpy/files/numpy-1.3.0-alpha.patch (limited to 'dev-python/numpy/files') diff --git a/dev-python/numpy/files/numpy-1.3.0-alpha.patch b/dev-python/numpy/files/numpy-1.3.0-alpha.patch new file mode 100644 index 000000000000..3aa5fe43a6de --- /dev/null +++ b/dev-python/numpy/files/numpy-1.3.0-alpha.patch @@ -0,0 +1,24 @@ +diff -ur numpy-1.3.0.orig/numpy/core/include/numpy/npy_cpu.h numpy-1.3.0/numpy/core/include/numpy/npy_cpu.h +--- numpy-1.3.0.orig/numpy/core/include/numpy/npy_cpu.h 2009-07-22 16:22:51.000000000 +0200 ++++ numpy-1.3.0/numpy/core/include/numpy/npy_cpu.h 2009-07-22 16:23:18.000000000 +0200 +@@ -44,6 +44,8 @@ + #define NPY_CPU_IA64 + #elif defined(__hppa__) + #define NPY_CPU_PARISC ++#elif defined(__alpha__) ++ #define NPY_CPU_ALPHA + #else + #error Unknown CPU, please report this to numpy maintainers with \ + information about your platform (OS, CPU and compiler) +diff -ur numpy-1.3.0.orig/numpy/core/include/numpy/npy_endian.h numpy-1.3.0/numpy/core/include/numpy/npy_endian.h +--- numpy-1.3.0.orig/numpy/core/include/numpy/npy_endian.h 2009-07-22 16:22:51.000000000 +0200 ++++ numpy-1.3.0/numpy/core/include/numpy/npy_endian.h 2009-07-22 16:23:04.000000000 +0200 +@@ -22,7 +22,7 @@ + #include "npy_cpu.h" + + #if defined(NPY_CPU_X86) || defined(NPY_CPU_AMD64)\ +- || defined(NPY_CPU_IA64) ++ || defined(NPY_CPU_IA64) || defined(NPY_CPU_ALPHA) + #define NPY_LITTLE_ENDIAN + #define NPY_BYTE_ORDER 1234 + #elif defined(NPY_CPU_PPC) || defined(NPY_CPU_SPARC)\ \ No newline at end of file -- cgit v1.2.3-65-gdbad