diff options
author | Raúl Porcel <armin76@gentoo.org> | 2009-07-22 14:25:53 +0000 |
---|---|---|
committer | Raúl Porcel <armin76@gentoo.org> | 2009-07-22 14:25:53 +0000 |
commit | 90555e629e926633c817230327ff46a911090260 (patch) | |
tree | b0e5c4447143dfb40404f26e38e90d3a91c70777 /dev-python/numpy/files | |
parent | Bump patchset to include correct zzip headers, by Fabian Groffen <grobian@gen... (diff) | |
download | historical-90555e629e926633c817230327ff46a911090260.tar.gz historical-90555e629e926633c817230327ff46a911090260.tar.bz2 historical-90555e629e926633c817230327ff46a911090260.zip |
Add patch to fix compilation on alpha
Package-Manager: portage-2.1.6.13/cvs/Linux ia64
Diffstat (limited to 'dev-python/numpy/files')
-rw-r--r-- | dev-python/numpy/files/numpy-1.3.0-alpha.patch | 24 |
1 files changed, 24 insertions, 0 deletions
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 |