summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2007-10-14 08:08:53 +0000
committerobache <obache@pkgsrc.org>2007-10-14 08:08:53 +0000
commit41247f581527cccab80050b353f86a8b7722765a (patch)
treea2764f11daa87189ddf26a121aecf26809bbeb79
parentffbd775e5927994bc8d04f5f4fbf19aa803e0607 (diff)
downloadpkgsrc-41247f581527cccab80050b353f86a8b7722765a.tar.gz
Fix build problem on NetBSD/i386.
Patch provided by Yakovetsky Vladimir in PR 36934, same as math/pari/patches/patch-ac.
-rw-r--r--math/p5-Math-Pari/distinfo3
-rw-r--r--math/p5-Math-Pari/patches/patch-ac13
2 files changed, 15 insertions, 1 deletions
diff --git a/math/p5-Math-Pari/distinfo b/math/p5-Math-Pari/distinfo
index bce4c005f6e..6ad69386ad0 100644
--- a/math/p5-Math-Pari/distinfo
+++ b/math/p5-Math-Pari/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.8 2007/06/20 15:52:35 joerg Exp $
+$NetBSD: distinfo,v 1.9 2007/10/14 08:08:53 obache Exp $
SHA1 (Math-Pari-2.010703.tar.gz) = 6634d36a7698957493f77ec5acb18c3091ae4c5f
RMD160 (Math-Pari-2.010703.tar.gz) = cf9ca6c8b6b154ca8f56d1f341c8d76f2142cf9e
@@ -7,3 +7,4 @@ SHA1 (pari-2.1.6.tgz) = 54bd40fa70a02e76d78d0ea19c0f56f7da62de8e
RMD160 (pari-2.1.6.tgz) = 6b79e84b639d1862df148b253136deacd73bf4f0
Size (pari-2.1.6.tgz) = 1541464 bytes
SHA1 (patch-ab) = 985b0c43128fc1f587bf25f7f2b57f6c8bf3793f
+SHA1 (patch-ac) = 92e72613058ffa248f2428dea5de368a39186040
diff --git a/math/p5-Math-Pari/patches/patch-ac b/math/p5-Math-Pari/patches/patch-ac
new file mode 100644
index 00000000000..d79d7206178
--- /dev/null
+++ b/math/p5-Math-Pari/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1 2007/10/14 08:08:53 obache Exp $
+
+--- ../pari-2.1.6/src/kernel/ix86/l0asm.c.orig 2002-04-06 12:14:02.000000000 +0000
++++ ../pari-2.1.6/src/kernel/ix86/l0asm.c
+@@ -36,7 +36,7 @@ Foundation, Inc., 59 Temple Place - Suit
+ global variable `hiremainder'. */
+
+ /* This should ideally be determined at configure time. */
+-#if defined(__EMX__) || defined(__DJGCC__) || defined(__GO32__) || (defined(linux) && !defined(__ELF__)) || defined(__386BSD__) || defined(__NetBSD__) || (defined(__FreeBSD__) && !defined(__ELF__)) || defined(NeXT) || defined(__CYGWIN32__) || defined(__MINGW32__)
++#if defined(__EMX__) || defined(__DJGCC__) || defined(__GO32__) || (defined(linux) && !defined(__ELF__)) || defined(__386BSD__) || (defined(__NetBSD__) && !defined(__ELF__)) || (defined(__FreeBSD__) && !defined(__ELF__)) || defined(NeXT) || defined(__CYGWIN32__) || defined(__MINGW32__)
+ # define ASM_UNDERSCORE
+ #endif
+