pkgsrc/math/pari/patches/patch-aj
jtb c05c722de7 Update to pari-2.1.5.
pkgsrc changes:
* Build a shared libpari using libtool
* convert to buildlink2

Changes in Pari itself:
* a long list of bugfixes -- see CHANGES.
2003-07-07 21:57:49 +00:00

29 lines
949 B
Text

$NetBSD: patch-aj,v 1.1 2003/07/07 21:57:51 jtb Exp $
--- src/kernel/sparcv8/level0_sparcv8_micro.S.orig
+++ src/kernel/sparcv8/level0_sparcv8_micro.S
@@ -22,7 +22,7 @@
/* If libpari.so is compiled with gcc, you should compile all */
/* files with gcc */
-#if defined(NO_UNDERSCORE) || defined(linux)
+#if defined(NO_UNDERSCORE) || defined(linux) || defined(__NetBSD__)
# define C(entrypoint) entrypoint
#elif defined(sun) || defined(NeXT)
# ifdef __STDC__
@@ -31,13 +31,13 @@
# define C(entrypoint) _/**/entrypoint
# endif
#endif
-#if defined(sun) || defined(linux)
+#if defined(sun) || defined(linux) || defined(__NetBSD__)
# define GLOBL .global
#elif defined(NeXT)
# define GLOBL .globl
#endif
-#if defined(sun) || defined(linux)
+#if defined(sun) || defined(linux) || defined(__NetBSD__)
.seg "data"
.align 4
C(tabshi): .word 4,3,2,2,1,1,1,1,0,0,0,0,0,0,0,0