diff --git a/sci-mathematics/gfan/files/gfan-0.5-gcc6.1-compat.patch b/sci-mathematics/gfan/files/gfan-0.5-gcc6.1-compat.patch new file mode 100644 index 0000000000000..8479557b61bb8 --- /dev/null +++ b/sci-mathematics/gfan/files/gfan-0.5-gcc6.1-compat.patch @@ -0,0 +1,70 @@ +--- a/app_fiberpolytope.cpp ++++ b/app_fiberpolytope.cpp +@@ -63,7 +63,7 @@ + + /* If the vector configuration B does not have full rank then + change coordinates. */ +- if(rank(B)!=B.getHeight()) ++ if(rank_(B)!=B.getHeight()) + { + FieldMatrix M=integerMatrixToFieldMatrix(B,Q); + M.reduce(false,true);//force integer operations - preserving volume +@@ -83,7 +83,7 @@ + log1 debug<<"Done computing restricting cone\n"; + + debug<