From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- .../gfan/files/gfan-0.5-double-declare-fix.patch | 12 ++++ .../gfan/files/gfan-0.5-gcc6.1-compat.patch | 70 ++++++++++++++++++++++ 2 files changed, 82 insertions(+) create mode 100644 sci-mathematics/gfan/files/gfan-0.5-double-declare-fix.patch create mode 100644 sci-mathematics/gfan/files/gfan-0.5-gcc6.1-compat.patch (limited to 'sci-mathematics/gfan/files') diff --git a/sci-mathematics/gfan/files/gfan-0.5-double-declare-fix.patch b/sci-mathematics/gfan/files/gfan-0.5-double-declare-fix.patch new file mode 100644 index 000000000000..239540884011 --- /dev/null +++ b/sci-mathematics/gfan/files/gfan-0.5-double-declare-fix.patch @@ -0,0 +1,12 @@ +diff -U 3 -dHrN gfan0.5/app_minkowski.cpp gfan0.5-new/app_minkowski.cpp +--- gfan0.5/app_minkowski.cpp 2011-01-23 12:21:47.000000000 -0500 ++++ gfan0.5-new/app_minkowski.cpp 2012-06-29 15:23:48.604280985 -0400 +@@ -160,7 +160,7 @@ + //log0 fprintf(Stderr,"4"); + f.insert(c); + //log0 fprintf(Stderr,"5\n"); +- static int i; ++ // static int i; + //log0 fprintf(Stderr,"inserted:%i\n",++i); + } + log1 fprintf(Stderr,"Resolving symmetries.\n"); 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<