diff options
Diffstat (limited to 'www')
-rw-r--r-- | www/mozilla/distinfo | 3 | ||||
-rw-r--r-- | www/mozilla/patches/patch-cc | 16 |
2 files changed, 18 insertions, 1 deletions
diff --git a/www/mozilla/distinfo b/www/mozilla/distinfo index b9039694778..1fef0b5f80a 100644 --- a/www/mozilla/distinfo +++ b/www/mozilla/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.62 2004/08/09 14:19:20 taya Exp $ +$NetBSD: distinfo,v 1.63 2004/08/15 01:33:58 taya Exp $ SHA1 (mozilla-source-1.7.2.tar.bz2) = 75c6f68d198e2fe0b7be525af6d458cc07c7d48d Size (mozilla-source-1.7.2.tar.bz2) = 34438800 bytes @@ -35,3 +35,4 @@ SHA1 (patch-by) = 643185af7a0df7030b2b96447ee4031dc9c82f88 SHA1 (patch-bz) = 6f854d74a9d1d1174ce8eff7d65f8024a7da4711 SHA1 (patch-ca) = 479ef14631ae019ae5ca1c08a2f786294f3e972b SHA1 (patch-cb) = fd0f033d63be066ce5c47057d72c48a085718908 +SHA1 (patch-cc) = cb08d4b7330c9e471d172c11772c840e613ceb76 diff --git a/www/mozilla/patches/patch-cc b/www/mozilla/patches/patch-cc new file mode 100644 index 00000000000..b8ad5481195 --- /dev/null +++ b/www/mozilla/patches/patch-cc @@ -0,0 +1,16 @@ +$NetBSD: patch-cc,v 1.1 2004/08/15 01:33:58 taya Exp $ + +--- /mnt/local/src/mozilla-1.7rc3/mozilla/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_linux_alpha.cpp 2004-08-13 01:24:00.000000000 +0900 ++++ ./xpcom/reflect/xptcall/src/md/unix/xptcinvoke_linux_alpha.cpp 2004-08-13 01:23:35.000000000 +0900 +@@ -163,7 +163,11 @@ + "bis $16,$16,$1\n\t" /* load "this" */ + "ldq $2,16($15)\n\t" /* load "methodIndex" */ + "ldq $1,0($1)\n\t" /* load vtable */ ++#if defined(__GXX_ABI_VERSION) && __GXX_ABI_VERSION >= 100 /* G++ V3 ABI */ ++ "s8addq $2,0,$2\n\t" /* vtable index = "methodIndex" * 8 */ ++#else /* G++2.95 ABI */ + "s8addq $2,16,$2\n\t" /* vtable index = "methodIndex" * 8 + 16 */ ++#endif + "addq $1,$2,$1\n\t" + "ldq $27,0($1)\n\t" /* load address of function */ + "jsr $26,($27),0\n\t" /* call virtual function */ |