summaryrefslogtreecommitdiff
path: root/math/p5-Math-Pari/patches
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 /math/p5-Math-Pari/patches
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.
Diffstat (limited to 'math/p5-Math-Pari/patches')
-rw-r--r--math/p5-Math-Pari/patches/patch-ac13
1 files changed, 13 insertions, 0 deletions
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
+