summaryrefslogtreecommitdiff
path: root/math/pari/patches/patch-ar
diff options
context:
space:
mode:
Diffstat (limited to 'math/pari/patches/patch-ar')
-rw-r--r--math/pari/patches/patch-ar9
1 files changed, 9 insertions, 0 deletions
diff --git a/math/pari/patches/patch-ar b/math/pari/patches/patch-ar
new file mode 100644
index 00000000000..b44b7096bd6
--- /dev/null
+++ b/math/pari/patches/patch-ar
@@ -0,0 +1,9 @@
+$NetBSD: patch-ar,v 1.1 2005/12/03 00:54:11 joerg Exp $
+
+--- config/has_exp2.c.orig 2005-12-03 00:14:25.000000000 +0000
++++ config/has_exp2.c
+@@ -1,2 +1,3 @@
+ #include <math.h>
+-main(){double x=exp2(1.0);}
++double testval;
++main(){double x=exp2(testval);}