diff options
Diffstat (limited to 'benchmarks/zelibm/patches/patch-ab')
-rw-r--r-- | benchmarks/zelibm/patches/patch-ab | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/benchmarks/zelibm/patches/patch-ab b/benchmarks/zelibm/patches/patch-ab new file mode 100644 index 00000000000..29fd4b16464 --- /dev/null +++ b/benchmarks/zelibm/patches/patch-ab @@ -0,0 +1,21 @@ +$NetBSD: patch-ab,v 1.1.1.1 2005/07/27 17:06:53 drochner Exp $ + +--- libmtest.c.orig 2004-04-16 21:22:20.000000000 +0200 ++++ libmtest.c 2004-04-16 21:23:56.000000000 +0200 +@@ -4,7 +4,6 @@ + form on Microsoft and Be systems. */ + + #include <errno.h> +-#include <error.h> + #include <float.h> + #include <gmp.h> + #include <math.h> +@@ -214,7 +213,7 @@ + /* Allocate the memory for the result. */ + result = (double *) calloc (n, 2 * sizeof (double)); + if (result == NULL) +- error (EXIT_FAILURE, errno, "cannot create array for result"); ++ exit (EXIT_FAILURE); + + for (cnt = 0; cnt < nprocs; ++cnt) + { |