From b4b71a0c2ce78b32be5e264fe2585b27f7b3c487 Mon Sep 17 00:00:00 2001 From: Grégory Salvan Date: Fri, 12 Feb 2016 19:08:41 +0100 Subject: added the right patch for metis numflag --- .../netgen/files/netgen-5.x-metis-numflag.patch | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) (limited to 'sci-mathematics/netgen') diff --git a/sci-mathematics/netgen/files/netgen-5.x-metis-numflag.patch b/sci-mathematics/netgen/files/netgen-5.x-metis-numflag.patch index 4c323041c..9e5ba88a1 100644 --- a/sci-mathematics/netgen/files/netgen-5.x-metis-numflag.patch +++ b/sci-mathematics/netgen/files/netgen-5.x-metis-numflag.patch @@ -1,21 +1,20 @@ -diff -uwrN ./netgen-5.3.1/libsrc/meshing/parallelmesh.cpp netgen-5.3.1.ORIG/libsrc/meshing/parallelmesh.cpp ---- ./netgen-5.3.1/libsrc/meshing/parallelmesh.cpp 2016-02-11 19:12:14.474185736 +0100 -+++ netgen-5.3.1.ORIG/libsrc/meshing/parallelmesh.cpp 2014-08-29 11:54:05.000000000 +0200 +--- libsrc/meshing/parallelmesh.cpp 2014-08-29 11:54:05.000000000 +0200 ++++ libsrc/meshing/parallelmesh.cpp 2016-02-11 19:12:14.474185736 +0100 @@ -1318,7 +1318,7 @@ idxtype *xadj, * adjacency, *v_weights = NULL, *e_weights = NULL; - + int weightflag = 0; -- int numflag = 0; -+ // int numflag = 0; +- // int numflag = 0; ++ int numflag = 0; int nparts = ntasks - 1; - + int options[5]; @@ -1485,7 +1485,7 @@ idxtype *v_weights = NULL, *e_weights = NULL; - + int weightflag = 0; -- int numflag = 0; -+ // int numflag = 0; +- // int numflag = 0; ++ int numflag = 0; int nparts = ntasks - 1; - + int edgecut; -- cgit v1.2.3-65-gdbad