diff options
Diffstat (limited to 'math/pari/patches/patch-ah')
-rw-r--r-- | math/pari/patches/patch-ah | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/math/pari/patches/patch-ah b/math/pari/patches/patch-ah new file mode 100644 index 00000000000..0df793073c1 --- /dev/null +++ b/math/pari/patches/patch-ah @@ -0,0 +1,29 @@ +$NetBSD: patch-ah,v 1.1 2003/07/07 21:57:51 jtb Exp $ + +--- src/kernel/sparcv7/level0.S.orig ++++ src/kernel/sparcv7/level0.S +@@ -13,7 +13,7 @@ + with the package; see the file 'COPYING'. If not, write to the Free Software + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + +-#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__ +@@ -22,13 +22,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 "text" + #elif defined(NeXT) + .text |