summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/scotch/libscotchmetis-return-6.0.5a.patch
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/scotch/libscotchmetis-return-6.0.5a.patch')
-rw-r--r--var/spack/repos/builtin/packages/scotch/libscotchmetis-return-6.0.5a.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/scotch/libscotchmetis-return-6.0.5a.patch b/var/spack/repos/builtin/packages/scotch/libscotchmetis-return-6.0.5a.patch
new file mode 100644
index 0000000000..7e124c6aac
--- /dev/null
+++ b/var/spack/repos/builtin/packages/scotch/libscotchmetis-return-6.0.5a.patch
@@ -0,0 +1,10 @@
+--- a/src/libscotchmetis/metis_graph_part.c 2018-07-13 14:25:50.000000000 -0500
++++ b/src/libscotchmetis/metis_graph_part.c 2018-07-13 14:21:08.000000000 -0500
+@@ -298,7 +298,7 @@
+
+ edgenbr = xadj[vertnbr] - baseval;
+ if ((edlotax = memAlloc (edgenbr * sizeof (SCOTCH_Num))) == NULL)
+- return;
++ return (METIS_ERROR);
+ edlotax -= baseval; /* Base access to edlotax */
+ vsiztax = vsize2 - baseval;