pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/mozilla - fix invoke_copy_to_stack() for PRBool



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c31e376f034e
branches:  trunk
changeset: 478596:c31e376f034e
user:      taya <taya%pkgsrc.org@localhost>
date:      Mon Jul 26 23:36:01 2004 +0000

description:
- 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)

diffstat:

 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(-)

diffs (56 lines):

diff -r b3a95654fc93 -r c31e376f034e www/mozilla/distinfo
--- a/www/mozilla/distinfo      Mon Jul 26 23:33:35 2004 +0000
+++ b/www/mozilla/distinfo      Mon Jul 26 23:36:01 2004 +0000
@@ -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-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 -r b3a95654fc93 -r c31e376f034e www/mozilla/files/xptcinvoke_sparc64_netbsd.cpp
--- a/www/mozilla/files/xptcinvoke_sparc64_netbsd.cpp   Mon Jul 26 23:33:35 2004 +0000
+++ b/www/mozilla/files/xptcinvoke_sparc64_netbsd.cpp   Mon Jul 26 23:36:01 2004 +0000
@@ -69,7 +69,7 @@
       */
       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 -r b3a95654fc93 -r c31e376f034e www/mozilla/patches/patch-bo
--- a/www/mozilla/patches/patch-bo      Mon Jul 26 23:33:35 2004 +0000
+++ b/www/mozilla/patches/patch-bo      Mon Jul 26 23:36:01 2004 +0000
@@ -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 @@
      ;;
  
  *-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



Home | Main Index | Thread Index | Old Index