pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math/p5-Math-Pari Fix shared library loading on Darwin.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/996e9e259c89
branches:  trunk
changeset: 555605:996e9e259c89
user:      seb <seb%pkgsrc.org@localhost>
date:      Thu Mar 05 23:12:51 2009 +0000

description:
Fix shared library loading on Darwin.
Bump PKGREVISION to 1.

diffstat:

 math/p5-Math-Pari/Makefile         |   3 ++-
 math/p5-Math-Pari/distinfo         |   4 +++-
 math/p5-Math-Pari/patches/patch-aa |  17 +++++++++++++++++
 math/p5-Math-Pari/patches/patch-ad |  16 ++++++++++++++++
 4 files changed, 38 insertions(+), 2 deletions(-)

diffs (71 lines):

diff -r a8d3f6ab9b35 -r 996e9e259c89 math/p5-Math-Pari/Makefile
--- a/math/p5-Math-Pari/Makefile        Thu Mar 05 23:07:15 2009 +0000
+++ b/math/p5-Math-Pari/Makefile        Thu Mar 05 23:12:51 2009 +0000
@@ -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 -r a8d3f6ab9b35 -r 996e9e259c89 math/p5-Math-Pari/distinfo
--- a/math/p5-Math-Pari/distinfo        Thu Mar 05 23:07:15 2009 +0000
+++ b/math/p5-Math-Pari/distinfo        Thu Mar 05 23:12:51 2009 +0000
@@ -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 @@
 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 -r a8d3f6ab9b35 -r 996e9e259c89 math/p5-Math-Pari/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/p5-Math-Pari/patches/patch-aa        Thu Mar 05 23:12:51 2009 +0000
@@ -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 -r a8d3f6ab9b35 -r 996e9e259c89 math/p5-Math-Pari/patches/patch-ad
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/p5-Math-Pari/patches/patch-ad        Thu Mar 05 23:12:51 2009 +0000
@@ -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



Home | Main Index | Thread Index | Old Index