summaryrefslogtreecommitdiff
path: root/www/mozilla/patches
diff options
context:
space:
mode:
authortaya <taya@pkgsrc.org>2002-07-12 13:07:27 +0000
committertaya <taya@pkgsrc.org>2002-07-12 13:07:27 +0000
commit15d7fcb8b2789086af54ed89bfd7e76eac6e36f2 (patch)
tree56e0a00054321d8f36249b4d9d664a670fe4434b /www/mozilla/patches
parent2064853864b07a32b384b49f3c8e75ea665021ea (diff)
downloadpkgsrc-15d7fcb8b2789086af54ed89bfd7e76eac6e36f2.tar.gz
add config for arm, armel, armeb
Diffstat (limited to 'www/mozilla/patches')
-rw-r--r--www/mozilla/patches/patch-ba20
-rw-r--r--www/mozilla/patches/patch-bb29
2 files changed, 41 insertions, 8 deletions
diff --git a/www/mozilla/patches/patch-ba b/www/mozilla/patches/patch-ba
index e151f7ea956..850571e3d5a 100644
--- a/www/mozilla/patches/patch-ba
+++ b/www/mozilla/patches/patch-ba
@@ -1,12 +1,23 @@
-$NetBSD: patch-ba,v 1.9 2002/06/06 02:05:58 taya Exp $
+$NetBSD: patch-ba,v 1.10 2002/07/12 13:07:27 taya Exp $
diff -ru ../Orig/mozilla/nsprpub/pr/include/md/_netbsd.cfg ./nsprpub/pr/include/md/_netbsd.cfg
--- ../Orig/mozilla/nsprpub/pr/include/md/_netbsd.cfg Wed Apr 10 12:16:42 2002
-+++ ./nsprpub/pr/include/md/_netbsd.cfg Thu Jun 6 09:13:25 2002
-@@ -91,6 +91,52 @@
++++ ./nsprpub/pr/include/md/_netbsd.cfg Wed Jul 10 22:51:15 2002
+@@ -45,7 +45,8 @@
+
+ #define PR_AF_INET6 24 /* same as AF_INET6 */
+
+-#if defined(__i386__) || defined(__arm32__) || defined(__MIPSEL__)
++#if defined(__i386__) || defined(__arm32__) || defined(__arm__) || \
++ defined(__armel__) || defined(__MIPSEL__)
+
+ #define IS_LITTLE_ENDIAN 1
+ #undef IS_BIG_ENDIAN
+@@ -91,7 +92,53 @@
#define PR_ALIGN_OF_DOUBLE 4
#define PR_ALIGN_OF_POINTER 4
+-#elif defined(__sparc__) || defined(__MIPSEB__)
+#elif defined(__sparc_v9__)
+
+#undef IS_LITTLE_ENDIAN
@@ -53,6 +64,7 @@ diff -ru ../Orig/mozilla/nsprpub/pr/include/md/_netbsd.cfg ./nsprpub/pr/include/
+#define PR_ALIGN_OF_DOUBLE 8
+#define PR_ALIGN_OF_POINTER 8
+
- #elif defined(__sparc__) || defined(__MIPSEB__)
++#elif defined(__sparc__) || defined(__MIPSEB__) || defined(__armeb__)
#undef IS_LITTLE_ENDIAN
+ #define IS_BIG_ENDIAN 1
diff --git a/www/mozilla/patches/patch-bb b/www/mozilla/patches/patch-bb
index cf2f6d50b2f..caf26b194b9 100644
--- a/www/mozilla/patches/patch-bb
+++ b/www/mozilla/patches/patch-bb
@@ -1,9 +1,9 @@
-$NetBSD: patch-bb,v 1.9 2002/06/06 02:05:58 taya Exp $
+$NetBSD: patch-bb,v 1.10 2002/07/12 13:07:27 taya Exp $
diff -ru ../Orig/mozilla/nsprpub/pr/include/md/_netbsd.h ./nsprpub/pr/include/md/_netbsd.h
--- ../Orig/mozilla/nsprpub/pr/include/md/_netbsd.h Wed Apr 10 12:16:43 2002
-+++ ./nsprpub/pr/include/md/_netbsd.h Thu Jun 6 09:13:29 2002
-@@ -48,6 +48,8 @@
++++ ./nsprpub/pr/include/md/_netbsd.h Wed Jul 10 22:53:43 2002
+@@ -48,12 +48,20 @@
#define _PR_SI_ARCHITECTURE "m68k"
#elif defined(__powerpc__)
#define _PR_SI_ARCHITECTURE "powerpc"
@@ -12,7 +12,19 @@ diff -ru ../Orig/mozilla/nsprpub/pr/include/md/_netbsd.h ./nsprpub/pr/include/md
#elif defined(__sparc__)
#define _PR_SI_ARCHITECTURE "sparc"
#elif defined(__mips__)
-@@ -106,7 +108,17 @@
+ #define _PR_SI_ARCHITECTURE "mips"
+ #elif defined(__arm32__)
+ #define _PR_SI_ARCHITECTURE "arm32"
++#elif defined(__arm__)
++#define _PR_SI_ARCHITECTURE "arm"
++#elif defined(__armel__)
++#define _PR_SI_ARCHITECTURE "armel"
++#elif defined(__armeb__)
++#define _PR_SI_ARCHITECTURE "armeb"
+ #endif
+
+ #if defined(__ELF__)
+@@ -106,7 +114,17 @@
}
#define _MD_GET_SP(_thread) CONTEXT(_thread)[2]
#endif
@@ -31,3 +43,12 @@ diff -ru ../Orig/mozilla/nsprpub/pr/include/md/_netbsd.h ./nsprpub/pr/include/md
#define _MD_INIT_CONTEXT(_thread, _sp, _main, status) \
{ \
sigsetjmp(CONTEXT(_thread), 1); \
+@@ -148,7 +166,7 @@
+ }
+ #define _MD_GET_SP(_thread) CONTEXT(_thread)[32]
+ #endif
+-#ifdef __arm32__
++#if defined(__arm32__) || defined(__arm__) || defined(__armel__) || defined(__armeb__)
+ #define _MD_INIT_CONTEXT(_thread, _sp, _main, status) \
+ { \
+ sigsetjmp(CONTEXT(_thread), 1); \