diff options
author | Justin Lecher <jlec@gentoo.org> | 2012-08-14 16:58:16 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2012-08-14 16:58:16 +0000 |
commit | f1c21fa03c0deeaafc09ba335412da771a4ba6bd (patch) | |
tree | 7cfc027b5058ce9b09b13e74f7c802fef1080822 /dev-python/pyamg/files | |
parent | Disable test task (drops rake dependency for USE=test); use Test::Unit 2 and ... (diff) | |
download | gentoo-2-f1c21fa03c0deeaafc09ba335412da771a4ba6bd.tar.gz gentoo-2-f1c21fa03c0deeaafc09ba335412da771a4ba6bd.tar.bz2 gentoo-2-f1c21fa03c0deeaafc09ba335412da771a4ba6bd.zip |
dev-python/pyamg: Back port upstream commit 850 to fix compilation with gcc-4.7, #431112
(Portage version: 2.2.0_alpha121/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/pyamg/files')
-rw-r--r-- | dev-python/pyamg/files/pyamg-2.0.4-gcc-4.7.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/dev-python/pyamg/files/pyamg-2.0.4-gcc-4.7.patch b/dev-python/pyamg/files/pyamg-2.0.4-gcc-4.7.patch new file mode 100644 index 000000000000..0ed5402b7e48 --- /dev/null +++ b/dev-python/pyamg/files/pyamg-2.0.4-gcc-4.7.patch @@ -0,0 +1,16 @@ + pyamg/amg_core/ruge_stuben.h | 2 ++ + 1 files changed, 2 insertions(+), 0 deletions(-) + +diff --git a/pyamg/amg_core/ruge_stuben.h b/pyamg/amg_core/ruge_stuben.h +index 51cec80..d0ff9a9 100644 +--- a/pyamg/amg_core/ruge_stuben.h ++++ b/pyamg/amg_core/ruge_stuben.h +@@ -7,6 +7,8 @@ + #include <cassert> + #include <limits> + #include <algorithm> ++#include "graph.h" ++#include "linalg.h" + + /* + * Compute a strength of connection matrix using the classical strength |