summaryrefslogtreecommitdiff
path: root/dev-python/pyamg/files/pyamg-2.0.4-gcc-4.7.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/pyamg/files/pyamg-2.0.4-gcc-4.7.patch')
-rw-r--r--dev-python/pyamg/files/pyamg-2.0.4-gcc-4.7.patch16
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 00000000000..0ed5402b7e4
--- /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