aboutsummaryrefslogtreecommitdiff
path: root/math/gmp
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2017-02-14 09:40:20 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2017-02-14 09:40:20 +0000
commit35564ce926413771d9619848f107403e4d487c80 (patch)
tree489a3e3a0c40fdbfbdc502c8c2c1569ed68a6ed6 /math/gmp
parent0c3e62d42c63efda363ca69e56c7e03e9c46f17e (diff)
Notes
Diffstat (limited to 'math/gmp')
-rw-r--r--math/gmp/files/patch-configure20
1 files changed, 20 insertions, 0 deletions
diff --git a/math/gmp/files/patch-configure b/math/gmp/files/patch-configure
new file mode 100644
index 000000000000..3cc6d158d28a
--- /dev/null
+++ b/math/gmp/files/patch-configure
@@ -0,0 +1,20 @@
+--- configure.orig 2016-12-16 15:45:32 UTC
++++ configure
+@@ -6776,7 +6776,7 @@ main ()
+ long i;
+ for (i = 0; i < 88 + 1; i++)
+ a[i] = ~0L;
+- r = malloc (10000 * sizeof (unsigned long));
++ r = calloc (10000, sizeof(unsigned long));
+ r2 = r;
+ for (i = 0; i < 528; i += 23)
+ {
+@@ -8394,7 +8394,7 @@ main ()
+ long i;
+ for (i = 0; i < 88 + 1; i++)
+ a[i] = ~0L;
+- r = malloc (10000 * sizeof (unsigned long));
++ r = calloc (10000, sizeof(unsigned long));
+ r2 = r;
+ for (i = 0; i < 528; i += 23)
+ {