From 68b401536df91ee42b4e58cd38b74f96ca0a0560 Mon Sep 17 00:00:00 2001 From: Thomas Kahle Date: Thu, 9 Jun 2016 22:16:05 +0200 Subject: [PATCH] sci-mathematics/gfan: gcc-6.1 compat and EAPI=6 Package-Manager: portage-2.3.0_rc1 --- .../gfan/files/gfan-0.5-gcc6.1-compat.patch | 70 +++++++++++++++++++ sci-mathematics/gfan/gfan-0.5-r1.ebuild | 39 +++++++++++ 2 files changed, 109 insertions(+) create mode 100644 sci-mathematics/gfan/files/gfan-0.5-gcc6.1-compat.patch create mode 100644 sci-mathematics/gfan/gfan-0.5-r1.ebuild 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 000000000000..8479557b61bb --- /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<