summaryrefslogtreecommitdiff
path: root/math/p5-Math-Pari/patches/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'math/p5-Math-Pari/patches/patch-ac')
-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
+