summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
Diffstat (limited to 'math')
-rw-r--r--math/p5-Math-Pari/Makefile3
-rw-r--r--math/p5-Math-Pari/distinfo4
-rw-r--r--math/p5-Math-Pari/patches/patch-aa17
-rw-r--r--math/p5-Math-Pari/patches/patch-ad16
4 files changed, 38 insertions, 2 deletions
diff --git a/math/p5-Math-Pari/Makefile b/math/p5-Math-Pari/Makefile
index 8c6557cb2ea..94ebd8e374c 100644
--- a/math/p5-Math-Pari/Makefile
+++ b/math/p5-Math-Pari/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.33 2009/02/22 13:11:39 he Exp $
+# $NetBSD: Makefile,v 1.34 2009/03/05 23:12:51 seb Exp $
#
DISTNAME= Math-Pari-2.010801
+PKGREVISION= 1
PKGNAME= p5-${DISTNAME}
SVR4_PKGNAME= p5mpa
CATEGORIES= math perl5
diff --git a/math/p5-Math-Pari/distinfo b/math/p5-Math-Pari/distinfo
index c2a16723cbe..a1afd216bd9 100644
--- a/math/p5-Math-Pari/distinfo
+++ b/math/p5-Math-Pari/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.12 2009/02/22 13:11:39 he Exp $
+$NetBSD: distinfo,v 1.13 2009/03/05 23:12:51 seb Exp $
SHA1 (Math-Pari-2.010801.tar.gz) = 9becc6cbbb80983408de7b3f33e7f19a8015cc34
RMD160 (Math-Pari-2.010801.tar.gz) = 72af931cd38b3d2e7bb158bbbe6221292dfe07e1
@@ -6,5 +6,7 @@ Size (Math-Pari-2.010801.tar.gz) = 115860 bytes
SHA1 (pari-2.1.6.tgz) = 54bd40fa70a02e76d78d0ea19c0f56f7da62de8e
RMD160 (pari-2.1.6.tgz) = 6b79e84b639d1862df148b253136deacd73bf4f0
Size (pari-2.1.6.tgz) = 1541464 bytes
+SHA1 (patch-aa) = 0260c0c980ccb11bcad7c744a37de990ffcb70cd
SHA1 (patch-ab) = 87843977a706b6e1b525f7b977599c3149d04557
SHA1 (patch-ac) = 92e72613058ffa248f2428dea5de368a39186040
+SHA1 (patch-ad) = 6e7ff863f35d9c4c877c180a22935fb9852939b9
diff --git a/math/p5-Math-Pari/patches/patch-aa b/math/p5-Math-Pari/patches/patch-aa
new file mode 100644
index 00000000000..09cf386239a
--- /dev/null
+++ b/math/p5-Math-Pari/patches/patch-aa
@@ -0,0 +1,17 @@
+$NetBSD: patch-aa,v 1.3 2009/03/05 23:12:51 seb Exp $
+
+Darwin runtime linking fix
+
+--- ../pari-2.1.6/src/kernel/none/level0.h.orig 2000-11-03 22:00:26.000000000 +0100
++++ ../pari-2.1.6/src/kernel/none/level0.h
+@@ -50,8 +50,8 @@ ENDEXTERN
+
+ #else
+
+-ulong overflow;
+-ulong hiremainder;
++extern ulong overflow;
++extern ulong hiremainder;
+
+ INLINE long
+ addll(ulong x, ulong y)
diff --git a/math/p5-Math-Pari/patches/patch-ad b/math/p5-Math-Pari/patches/patch-ad
new file mode 100644
index 00000000000..40f6374e5ec
--- /dev/null
+++ b/math/p5-Math-Pari/patches/patch-ad
@@ -0,0 +1,16 @@
+$NetBSD: patch-ad,v 1.1 2009/03/05 23:12:51 seb Exp $
+
+Darwin runtime linking fix
+
+--- ../pari-2.1.6/src/kernel/none/mp.c.orig 2002-01-29 14:46:23.000000000 +0100
++++ ../pari-2.1.6/src/kernel/none/mp.c
+@@ -22,6 +22,9 @@ Foundation, Inc., 59 Temple Place - Suit
+ /* version (#ifdef __M68K__) since they are defined in mp.s */
+ #include "pari.h"
+
++ulong overflow;
++ulong hiremainder;
++
+ /* NOTE: arguments of "spec" routines (muliispec, addiispec, etc.) aren't
+ * GENs but pairs (long *a, long na) representing a list of digits (in basis
+ * BITS_IN_LONG) : a[0], ..., a[na-1]. [ In ordre to facilitate splitting: no