diff options
author | mycroft <mycroft> | 2000-10-30 00:59:45 +0000 |
---|---|---|
committer | mycroft <mycroft> | 2000-10-30 00:59:45 +0000 |
commit | 53c9a0ae56358e543dab0ef895570c1b556e0cc7 (patch) | |
tree | 82c113e39a78e79ebdab7e1d9f826278baf2476c /www/mozilla/patches/patch-ae | |
parent | 12c3721c639975f9d915003fec7b1b41fb42c85a (diff) | |
download | pkgsrc-53c9a0ae56358e543dab0ef895570c1b556e0cc7.tar.gz |
Test for big- vs. little-endian MIPS.
Diffstat (limited to 'www/mozilla/patches/patch-ae')
-rw-r--r-- | www/mozilla/patches/patch-ae | 24 |
1 files changed, 19 insertions, 5 deletions
diff --git a/www/mozilla/patches/patch-ae b/www/mozilla/patches/patch-ae index 1ed0361d100..ede5743b473 100644 --- a/www/mozilla/patches/patch-ae +++ b/www/mozilla/patches/patch-ae @@ -1,11 +1,25 @@ -$NetBSD: patch-ae,v 1.8 2000/10/23 22:20:47 dmcmahill Exp $ +$NetBSD: patch-ae,v 1.9 2000/10/30 00:59:46 mycroft Exp $ ---- nsprpub/pr/include/md/_netbsd.cfg.orig Wed Mar 8 11:26:18 2000 -+++ nsprpub/pr/include/md/_netbsd.cfg Sat Oct 7 17:26:26 2000 -@@ -78,5 +78,5 @@ - #elif defined(__sparc__) || defined(__mips__) +--- nsprpub/pr/include/md/_netbsd.cfg.orig Wed Mar 8 16:26:18 2000 ++++ nsprpub/pr/include/md/_netbsd.cfg Mon Oct 30 00:57:46 2000 +@@ -29,7 +29,7 @@ + + #define PR_AF_INET6 24 /* same as AF_INET6 */ + +-#if defined(__i386__) || defined(__arm32__) ++#if defined(__i386__) || defined(__arm32__) || defined(__MIPSEL__) + + #define IS_LITTLE_ENDIAN 1 + #undef IS_BIG_ENDIAN +@@ -75,9 +75,9 @@ + #define PR_ALIGN_OF_DOUBLE 4 + #define PR_ALIGN_OF_POINTER 4 + +-#elif defined(__sparc__) || defined(__mips__) ++#elif defined(__sparc__) || defined(__MIPSEB__) -#undef IS_LITTLE_ENDIAN 1 +#undef IS_LITTLE_ENDIAN #define IS_BIG_ENDIAN 1 #define HAVE_LONG_LONG + #define HAVE_ALIGNED_DOUBLES |