From e5e31c4b8b9cd6d659cbac8ca050333883c3e1d1 Mon Sep 17 00:00:00 2001 From: taya Date: Mon, 26 Jul 2004 23:36:01 +0000 Subject: - fix invoke_copy_to_stack() for PRBool - Use socklen_t for 5th arg. of getsockopt() instead of size_t Now mozilla runs on sparc64. But It's not complete (e.g. can't connect to IPv6 site) --- www/mozilla/distinfo | 4 ++-- www/mozilla/files/xptcinvoke_sparc64_netbsd.cpp | 2 +- www/mozilla/patches/patch-bo | 13 ++++++++++--- 3 files changed, 13 insertions(+), 6 deletions(-) (limited to 'www') diff --git a/www/mozilla/distinfo b/www/mozilla/distinfo index 5abd78d2b44..6aec15b65e4 100644 --- a/www/mozilla/distinfo +++ b/www/mozilla/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.60 2004/07/07 09:08:31 aymeric Exp $ +$NetBSD: distinfo,v 1.61 2004/07/26 23:36:01 taya Exp $ SHA1 (mozilla-source-1.7.tar.bz2) = 52b8ab9248a8f4ed5763d7715f4fa18bda8123cf Size (mozilla-source-1.7.tar.bz2) = 35174502 bytes @@ -22,7 +22,7 @@ SHA1 (patch-ba) = f5b7bf6356ecc373e1d201ca58fa24b34d7e122a SHA1 (patch-bb) = 4e222846e2aba9ea7c3f8ac4b5c9c4164223b44b SHA1 (patch-bm) = 3e297a2dece8dcad7bde86f79f944a98d09174a7 SHA1 (patch-bn) = 83750f28e141aafa8c94fe8cb68020cc097ee48e -SHA1 (patch-bo) = a25e958d2bf1eaeadda9d344bde9c83f13100266 +SHA1 (patch-bo) = 7d6e0353666810992ab0b09d804f9f48ef90b984 SHA1 (patch-bq) = 2a08f3eb1b6a8ea00e712d08b4bcafad3b766a81 SHA1 (patch-br) = 215990af167a1aa1f2d1107e74edfd13395ed356 SHA1 (patch-bs) = fb9f8f13ce481c04a0f7ecfd0ad4d8016cddc2e4 diff --git a/www/mozilla/files/xptcinvoke_sparc64_netbsd.cpp b/www/mozilla/files/xptcinvoke_sparc64_netbsd.cpp index 936ec1135ec..82d7c9cc3b5 100644 --- a/www/mozilla/files/xptcinvoke_sparc64_netbsd.cpp +++ b/www/mozilla/files/xptcinvoke_sparc64_netbsd.cpp @@ -69,7 +69,7 @@ invoke_copy_to_stack(PRUint64* d, PRUint32 paramCount, nsXPTCVariant* s) */ case nsXPTType::T_FLOAT : *(((float*)l_d) + 1) = l_s->val.f; break; case nsXPTType::T_DOUBLE: *((double*)l_d) = l_s->val.d; break; - case nsXPTType::T_BOOL : *((PRBool*)l_d) = l_s->val.b; break; + case nsXPTType::T_BOOL : *((PRInt64*)l_d) = l_s->val.b; break; case nsXPTType::T_CHAR : *((PRUint64*)l_d) = l_s->val.c; break; case nsXPTType::T_WCHAR : *((PRInt64*)l_d) = l_s->val.wc; break; diff --git a/www/mozilla/patches/patch-bo b/www/mozilla/patches/patch-bo index 69a7b803efd..54d055ba8fb 100644 --- a/www/mozilla/patches/patch-bo +++ b/www/mozilla/patches/patch-bo @@ -1,8 +1,7 @@ -$NetBSD: patch-bo,v 1.7 2004/06/21 14:14:01 taya Exp $ +$NetBSD: patch-bo,v 1.8 2004/07/26 23:36:01 taya Exp $ -diff -ru ../Orig/mozilla/nsprpub/configure.in ./nsprpub/configure.in --- ../Orig/mozilla/nsprpub/configure.in 2004-04-17 07:28:02.000000000 +0900 -+++ ./nsprpub/configure.in 2004-06-10 23:07:10.000000000 +0900 ++++ ./nsprpub/configure.in 2004-07-27 01:25:32.000000000 +0900 @@ -933,6 +933,9 @@ DSO_LDOPTS='-shared -Wl,-soname -Wl,$(notdir $@)' MDCPUCFG_H=_freebsd.cfg @@ -13,3 +12,11 @@ diff -ru ../Orig/mozilla/nsprpub/configure.in ./nsprpub/configure.in ;; *-hpux*) +@@ -1409,6 +1412,7 @@ + AC_DEFINE(XP_UNIX) + AC_DEFINE(NETBSD) + AC_DEFINE(HAVE_BSD_FLOCK) ++ AC_DEFINE(HAVE_SOCKLEN_T) + USE_NSPR_THREADS=1 + MDCPUCFG_H=_netbsd.cfg + PR_MD_CSRCS=netbsd.c -- cgit v1.2.3