diff options
author | taya <taya> | 2004-06-21 14:14:00 +0000 |
---|---|---|
committer | taya <taya> | 2004-06-21 14:14:00 +0000 |
commit | 3c4aa722b914b64d1f2815c097f724cba65bdb90 (patch) | |
tree | 99732a42b3c88a98e8fbb6eba88d706f9f224e2d /www/mozilla/patches | |
parent | f9227a8d97d351a2a4e433aea305f6d4c046a537 (diff) | |
download | pkgsrc-3c4aa722b914b64d1f2815c097f724cba65bdb90.tar.gz |
Update mozilla to 1.7
New features and fixes
Browser
* A new option to prevent sites from using JavaScript to block the
browser's context menu.
* Password Manager has a "show passwords" mode which will display
saved passwords. You will need to enter your master password if
you are using one.
* The "Set As Wallpaper" feature now has a confirmation dialog.
* Linux GTK2 builds have improved support for OS themes.
* Cookie dialogs have been reworked to make them more usable.
* Date handling, especially on OS X, has been improved.
* It is now possible to fine-tune Mozilla's pop-up blocking using
two preferences (dom.popup_maximum and dom.popup_allowed_events)
but there's no UI for that yet. Even without a UI, users should
notice a greater variety of pop-ups blocked (primarily mouseover
pop-ups) and a limit of 20 or so open at one time - regardless
of whether pop-up blocking is active. This will provide some
protection from sites that open hundreds of windows in a loop.
* Downloaded files are now moved to the target directory as soon
as the user selects the desired location. This was the
frequently reported bug 55690.
* There is now user interface to activate Smooth Scrolling
(Preferences -> Appearance).
* Mozilla now supports basic FTP upload.
Mail
* Many improvements to Palm Sync.
* IMAP IDLE support has been added.
* Support for "MSN Authentication" and Secure Password
* Authentication using SSPI NTLM auth for SMTP and POP3.
* A new preference to "always use the default character encoding
for replies" rather than using the encoding of the message being
replied to.
* Improvements to performance of downloading, viewing, and saving
mail messages.
* Support for multiple identities on the same mail account. See
the Multiple Identity Support documentation for more details.
* Support for relative paths for mail folders in prefs.js. This
makes it easier to copy profiles around without having to fix up
prefs.js afterwards.
* You can now edit address lists containing "Last, First" style
names.
* When composing mail, you can now use the up and down arrow keys
to scroll through the To/Cc/Bcc list.
* All Mozilla LDAP queries now default to using LDAPv3
(previously, they used LDAPv2). Mozilla should gracefully fall
back to v2 if v3 isn't found.
Chatzilla
* Chatzilla now supports zooming of fonts with keyboard shortcuts
(Ctrl + and Ctrl -), as well as with the View menu.
* Improved date handling; using the date/time format for the
locale.
* Support for the /ignore command.
* The ability to change the font family and size.
* Working custom sounds on Windows and Linux.
* Improvements to the preferences panel and the user interface for
half-op mode.
Under the Hood
* Size and performance have improved dramatically with this
release. When compared to Mozilla 1.6, Mozilla 1.7 is 7% faster at
startup, is 8% faster to open a window, has 9% faster page
loading, and is 5% smaller in binary size.
* A long-standing bug with CSS backgrounds on table elements has
been fixed (standards mode only).
* Support for Kerberos HTTP authentication using GSSAPI (benefits
Unix-like platforms including Linux and OS X).
* Support for smb:// URLs using the gnome-vfs library (only
enabled in GTK2+XFT Linux builds).
* Support for server push of XML documents using
multipart/x-mixed-replace and XMLHttpRequest.
* Liveconnect now works when a Java applet's codebase is in a
different domain.
* Support for the CSS3 opacity property.
* Mozilla adds support for the onbeforeunload event. This lets web
application developers add code that alerts the user about
potential data-loss when closing a web application, or when
leaving a HTML page with potentially sensitive information.
* This release has a new SVG backend. The feature is not yet
enabled in the mozilla.org releases but developers may wish to
compile with this feature enabled.
* Mozilla handles dynamic style changes much better (see bug 15608
for details.)
* Mozilla has upgraded the NSS libraries to version 3.9. NSS 3.9
passes all the NISCC SSL/TLS and S/MIME tests (1.6 million test
cases of invalid input data) without crashes or memory leaks.
Diffstat (limited to 'www/mozilla/patches')
30 files changed, 239 insertions, 187 deletions
diff --git a/www/mozilla/patches/patch-aa b/www/mozilla/patches/patch-aa index eda14614031..95070155b35 100644 --- a/www/mozilla/patches/patch-aa +++ b/www/mozilla/patches/patch-aa @@ -1,21 +1,22 @@ -$NetBSD: patch-aa,v 1.25 2004/02/05 17:29:06 jmmv Exp $ +$NetBSD: patch-aa,v 1.26 2004/06/21 14:14:00 taya Exp $ ---- config/autoconf.mk.in.orig 2003-10-30 22:11:05.000000000 +0100 -+++ config/autoconf.mk.in -@@ -29,13 +29,13 @@ MOZILLA_VERSION = @MOZILLA_VERSION@ +diff -ru ../Orig/mozilla/config/autoconf.mk.in ./config/autoconf.mk.in +--- ../Orig/mozilla/config/autoconf.mk.in 2004-03-21 11:31:17.000000000 +0900 ++++ ./config/autoconf.mk.in 2004-06-10 22:55:06.000000000 +0900 +@@ -31,13 +31,13 @@ prefix = @prefix@ exec_prefix = @exec_prefix@ bindir = @bindir@ --includedir = @includedir@/mozilla-$(MOZILLA_VERSION) +-includedir = @includedir@/$(MOZ_APP_NAME)-$(MOZ_APP_VERSION) +includedir = @includedir@/$(MOZILLA_PKG_NAME) libdir = @libdir@ datadir = @datadir@ mandir = @mandir@ --idldir = @datadir@/idl/mozilla-$(MOZILLA_VERSION) +-idldir = @datadir@/idl/$(MOZ_APP_NAME)-$(MOZ_APP_VERSION) +idldir = @datadir@/idl/$(MOZILLA_PKG_NAME) --mozappdir = $(libdir)/mozilla-$(MOZILLA_VERSION) +-mozappdir = $(libdir)/$(MOZ_APP_NAME)-$(MOZ_APP_VERSION) +mozappdir = $(libdir)/$(MOZILLA_PKG_NAME) - mredir = $(libdir)/mre/mre-$(MOZILLA_VERSION) + mredir = $(libdir)/mre/mre-$(MOZ_APP_VERSION) mrelibdir = $(mredir)/lib diff --git a/www/mozilla/patches/patch-ab b/www/mozilla/patches/patch-ab index e470cc1e078..8de1d4e3065 100644 --- a/www/mozilla/patches/patch-ab +++ b/www/mozilla/patches/patch-ab @@ -1,8 +1,9 @@ -$NetBSD: patch-ab,v 1.31 2004/04/24 10:35:23 grant Exp $ +$NetBSD: patch-ab,v 1.32 2004/06/21 14:14:00 taya Exp $ ---- configure.in.orig 2003-12-12 10:30:36.000000000 +1100 -+++ configure.in -@@ -959,6 +959,9 @@ case "$target" in +diff -ru ../Orig/mozilla/configure.in ./configure.in +--- ../Orig/mozilla/configure.in 2004-05-26 11:25:16.000000000 +0900 ++++ ./configure.in 2004-06-10 22:55:16.000000000 +0900 +@@ -1017,6 +1017,9 @@ # MKSHLIB_FORCE_ALL='-Wl,-Bforcearchive' # MKSHLIB_UNFORCE_ALL='' # fi @@ -12,7 +13,7 @@ $NetBSD: patch-ab,v 1.31 2004/04/24 10:35:23 grant Exp $ ;; *-hpux*) -@@ -1248,6 +1251,13 @@ case "$target" in +@@ -1308,6 +1311,13 @@ if test "$LIBRUNPATH"; then DSO_LDOPTS="-Wl,-R$LIBRUNPATH $DSO_LDOPTS" fi @@ -26,8 +27,8 @@ $NetBSD: patch-ab,v 1.31 2004/04/24 10:35:23 grant Exp $ ;; *-nto*) -@@ -1478,7 +1488,7 @@ dnl the qsort routine under solaris is f - MKCSHLIB='$(CC) $(CFLAGS) $(DSO_PIC_FLAGS) $(DSO_LDOPTS) -o $@' +@@ -1531,7 +1541,7 @@ + MKCSHLIB='$(CC) $(CFLAGS) $(DSO_PIC_FLAGS) -G -Wl,-z -Wl,muldefs -o $@' MKSHLIB_FORCE_ALL='-Qoption ld -z,allextract' MKSHLIB_UNFORCE_ALL='' - DSO_LDOPTS='-G -Qoption ld -z,muldefs -h $@' @@ -35,13 +36,3 @@ $NetBSD: patch-ab,v 1.31 2004/04/24 10:35:23 grant Exp $ AR_LIST="$AR t" AR_EXTRACT="$AR x" AR_DELETE="$AR d" -@@ -2192,9 +2202,6 @@ then - CXXFLAGS="$CXXFLAGS -mt" - fi - ;; -- *-*-netbsd*) -- USE_PTHREADS= -- _PTHREAD_LDFLAGS= - esac - fi - diff --git a/www/mozilla/patches/patch-ac b/www/mozilla/patches/patch-ac index 7edd3f20bd8..8448ff9680e 100644 --- a/www/mozilla/patches/patch-ac +++ b/www/mozilla/patches/patch-ac @@ -1,7 +1,8 @@ -$NetBSD: patch-ac,v 1.22 2004/05/30 14:02:01 sekiya Exp $ +$NetBSD: patch-ac,v 1.23 2004/06/21 14:14:00 taya Exp $ ---- xpcom/reflect/xptcall/src/md/unix/Makefile.in.orig 2003-08-15 13:00:23.000000000 +0900 -+++ xpcom/reflect/xptcall/src/md/unix/Makefile.in 2004-05-30 21:36:44.000000000 +0900 +diff -ru ../Orig/mozilla/xpcom/reflect/xptcall/src/md/unix/Makefile.in ./xpcom/reflect/xptcall/src/md/unix/Makefile.in +--- ../Orig/mozilla/xpcom/reflect/xptcall/src/md/unix/Makefile.in 2004-04-23 05:50:05.000000000 +0900 ++++ ./xpcom/reflect/xptcall/src/md/unix/Makefile.in 2004-06-10 22:55:50.000000000 +0900 @@ -49,6 +49,9 @@ ifeq (86,$(findstring 86,$(OS_TEST))) CPPSRCS := xptcinvoke_unixish_x86.cpp xptcstubs_unixish_x86.cpp @@ -12,7 +13,7 @@ $NetBSD: patch-ac,v 1.22 2004/05/30 14:02:01 sekiya Exp $ endif # # New code for Linux, et. al., with gcc -@@ -135,7 +138,7 @@ +@@ -140,7 +143,7 @@ # NetBSD/ARM # ifeq ($(OS_ARCH),NetBSD) @@ -21,7 +22,7 @@ $NetBSD: patch-ac,v 1.22 2004/05/30 14:02:01 sekiya Exp $ CPPSRCS := xptcinvoke_arm_netbsd.cpp xptcstubs_arm_netbsd.cpp endif endif -@@ -169,7 +172,7 @@ +@@ -174,7 +177,7 @@ # NetBSD/m68k # ifeq ($(OS_ARCH),NetBSD) @@ -30,7 +31,7 @@ $NetBSD: patch-ac,v 1.22 2004/05/30 14:02:01 sekiya Exp $ CPPSRCS := xptcinvoke_netbsd_m68k.cpp xptcstubs_netbsd_m68k.cpp endif endif -@@ -295,6 +298,13 @@ +@@ -305,6 +308,13 @@ CPPSRCS := xptcinvoke_sparc_netbsd.cpp xptcstubs_sparc_netbsd.cpp ASFILES := xptcinvoke_asm_sparc_netbsd.s xptcstubs_asm_sparc_netbsd.s endif diff --git a/www/mozilla/patches/patch-ad b/www/mozilla/patches/patch-ad index 142b2930a75..ed301ae52fa 100644 --- a/www/mozilla/patches/patch-ad +++ b/www/mozilla/patches/patch-ad @@ -1,8 +1,8 @@ -$NetBSD: patch-ad,v 1.26 2004/01/17 00:04:49 taya Exp $ +$NetBSD: patch-ad,v 1.27 2004/06/21 14:14:00 taya Exp $ diff -ru ../Orig/mozilla/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_netbsd_m68k.cpp ./xpcom/reflect/xptcall/src/md/unix/xptcinvoke_netbsd_m68k.cpp --- ../Orig/mozilla/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_netbsd_m68k.cpp 2001-09-29 05:12:51.000000000 +0900 -+++ ./xpcom/reflect/xptcall/src/md/unix/xptcinvoke_netbsd_m68k.cpp 2004-01-16 23:17:22.000000000 +0900 ++++ ./xpcom/reflect/xptcall/src/md/unix/xptcinvoke_netbsd_m68k.cpp 2004-06-10 22:55:53.000000000 +0900 @@ -132,6 +132,15 @@ } } diff --git a/www/mozilla/patches/patch-ae b/www/mozilla/patches/patch-ae index 22a87f3d511..3d94c892060 100644 --- a/www/mozilla/patches/patch-ae +++ b/www/mozilla/patches/patch-ae @@ -1,8 +1,8 @@ -$NetBSD: patch-ae,v 1.17 2004/01/17 00:04:49 taya Exp $ +$NetBSD: patch-ae,v 1.18 2004/06/21 14:14:00 taya Exp $ diff -ru ../Orig/mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_netbsd_m68k.cpp ./xpcom/reflect/xptcall/src/md/unix/xptcstubs_netbsd_m68k.cpp --- ../Orig/mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_netbsd_m68k.cpp 2001-09-29 05:12:52.000000000 +0900 -+++ ./xpcom/reflect/xptcall/src/md/unix/xptcstubs_netbsd_m68k.cpp 2004-01-16 23:17:24.000000000 +0900 ++++ ./xpcom/reflect/xptcall/src/md/unix/xptcstubs_netbsd_m68k.cpp 2004-06-10 22:55:55.000000000 +0900 @@ -123,17 +123,27 @@ } } diff --git a/www/mozilla/patches/patch-af b/www/mozilla/patches/patch-af index 2c57af070bf..2c2ebae9056 100644 --- a/www/mozilla/patches/patch-af +++ b/www/mozilla/patches/patch-af @@ -1,8 +1,8 @@ -$NetBSD: patch-af,v 1.17 2004/01/17 00:04:49 taya Exp $ +$NetBSD: patch-af,v 1.18 2004/06/21 14:14:00 taya Exp $ diff -ru ../Orig/mozilla/security/nss/lib/freebl/unix_rand.c ./security/nss/lib/freebl/unix_rand.c --- ../Orig/mozilla/security/nss/lib/freebl/unix_rand.c 2003-05-31 08:31:19.000000000 +0900 -+++ ./security/nss/lib/freebl/unix_rand.c 2004-01-16 23:17:26.000000000 +0900 ++++ ./security/nss/lib/freebl/unix_rand.c 2004-06-10 22:55:57.000000000 +0900 @@ -32,6 +32,7 @@ */ diff --git a/www/mozilla/patches/patch-ag b/www/mozilla/patches/patch-ag index 1efa9b10e71..720afda2195 100644 --- a/www/mozilla/patches/patch-ag +++ b/www/mozilla/patches/patch-ag @@ -1,8 +1,8 @@ -$NetBSD: patch-ag,v 1.14 2004/01/17 00:04:49 taya Exp $ +$NetBSD: patch-ag,v 1.15 2004/06/21 14:14:00 taya Exp $ diff -ru ../Orig/mozilla/extensions/transformiix/source/base/ErrorObserver.h ./extensions/transformiix/source/base/ErrorObserver.h --- ../Orig/mozilla/extensions/transformiix/source/base/ErrorObserver.h 2003-01-17 21:39:36.000000000 +0900 -+++ ./extensions/transformiix/source/base/ErrorObserver.h 2004-01-16 23:17:34.000000000 +0900 ++++ ./extensions/transformiix/source/base/ErrorObserver.h 2004-06-10 22:56:01.000000000 +0900 @@ -28,7 +28,8 @@ #include "baseutils.h" diff --git a/www/mozilla/patches/patch-ah b/www/mozilla/patches/patch-ah index e0ef7377dc6..31bc15ca033 100644 --- a/www/mozilla/patches/patch-ah +++ b/www/mozilla/patches/patch-ah @@ -1,8 +1,7 @@ -$NetBSD: patch-ah,v 1.8 2004/04/29 14:39:47 adam Exp $ - ---- gfx/idl/nsIFreeType2.idl.orig 2004-04-29 10:46:15.000000000 +0000 -+++ gfx/idl/nsIFreeType2.idl -@@ -72,10 +72,11 @@ native FT_Pointer(FT_Pointer); +diff -ru ../Orig/mozilla/gfx/idl/nsIFreeType2.idl ./gfx/idl/nsIFreeType2.idl +--- ../Orig/mozilla/gfx/idl/nsIFreeType2.idl 2004-04-16 10:09:33.000000000 +0900 ++++ ./gfx/idl/nsIFreeType2.idl 2004-06-11 00:32:42.000000000 +0900 +@@ -76,10 +76,11 @@ native FT_Sfnt_Tag(FT_Sfnt_Tag); native FT_Size(FT_Size); @@ -15,8 +14,8 @@ $NetBSD: patch-ah,v 1.8 2004/04/29 14:39:47 adam Exp $ +native FTC_ImageCache(FTC_ImageCache); native FTC_Manager(FTC_Manager); - /* -@@ -87,7 +88,7 @@ interface nsIFreeType2 : nsISupports + // #ifdef MOZ_SVG +@@ -99,7 +100,7 @@ readonly attribute FT_Library library; readonly attribute FTC_Manager FTCacheManager; @@ -25,7 +24,7 @@ $NetBSD: patch-ah,v 1.8 2004/04/29 14:39:47 adam Exp $ void doneFace(in FT_Face face); void doneFreeType(in FT_Library lib); -@@ -103,16 +104,16 @@ interface nsIFreeType2 : nsISupports +@@ -115,16 +116,16 @@ void outlineDecompose(in FT_Outline_p outline, in const_FT_Outline_Funcs_p funcs, in voidPtr p); void setCharmap(in FT_Face face, in FT_CharMap charmap); @@ -43,6 +42,6 @@ $NetBSD: patch-ah,v 1.8 2004/04/29 14:39:47 adam Exp $ out FTC_Manager manager); - void imageCacheNew(in FTC_Manager manager, out FTC_Image_Cache cache); + void imageCacheNew(in FTC_Manager manager, out FTC_ImageCache cache); - - FT_ULong getFirstChar(in FT_Face face, out FT_UInt gindex); - FT_ULong getNextChar(in FT_Face face, in FT_ULong charcode, out FT_UInt gindex); + /* #ifdef MOZ_SVG */ + void glyphTransform(in FT_Glyph glyph, in FT_Matrix_p matrix, + in FT_Vector_p delta); diff --git a/www/mozilla/patches/patch-ai b/www/mozilla/patches/patch-ai index f0ad17ce2d0..c8b737cb36f 100644 --- a/www/mozilla/patches/patch-ai +++ b/www/mozilla/patches/patch-ai @@ -1,8 +1,9 @@ -$NetBSD: patch-ai,v 1.8 2004/04/29 14:39:48 adam Exp $ +$NetBSD: patch-ai,v 1.9 2004/06/21 14:14:00 taya Exp $ ---- gfx/src/ps/nsFontMetricsPS.cpp.orig 2004-04-29 11:18:03.000000000 +0000 -+++ gfx/src/ps/nsFontMetricsPS.cpp -@@ -1126,10 +1126,10 @@ nsFontPSFreeType::Init(nsITrueTypeFontCa +diff -ru ../Orig/mozilla/gfx/src/ps/nsFontMetricsPS.cpp ./gfx/src/ps/nsFontMetricsPS.cpp +--- ../Orig/mozilla/gfx/src/ps/nsFontMetricsPS.cpp 2004-02-05 10:57:05.000000000 +0900 ++++ ./gfx/src/ps/nsFontMetricsPS.cpp 2004-06-10 23:00:08.000000000 +0900 +@@ -1141,10 +1141,10 @@ mPixelSize = NSToIntRound(app2dev * mFont->size); @@ -17,7 +18,7 @@ $NetBSD: patch-ai,v 1.8 2004/04/29 14:39:48 adam Exp $ nsresult rv; mFt2 = do_GetService(NS_FREETYPE2_CONTRACTID, &rv); -@@ -1175,7 +1175,7 @@ nsFontPSFreeType::GetWidth(const PRUnich +@@ -1190,7 +1190,7 @@ if (!face) return 0; @@ -26,7 +27,7 @@ $NetBSD: patch-ai,v 1.8 2004/04/29 14:39:48 adam Exp $ nsresult rv = mFt2->GetImageCache(&iCache); if (NS_FAILED(rv)) { NS_ERROR("Failed to get Image Cache"); -@@ -1213,8 +1213,8 @@ nsFontPSFreeType::getFTFace() +@@ -1228,8 +1228,8 @@ FTC_Manager cManager; mFt2->GetFTCacheManager(&cManager); @@ -37,7 +38,7 @@ $NetBSD: patch-ai,v 1.8 2004/04/29 14:39:48 adam Exp $ NS_ASSERTION(rv==0, "failed to get face/size"); if (rv) return nsnull; -@@ -1609,16 +1609,16 @@ void nsFT2Type8Generator::GeneratePSFont +@@ -1622,16 +1622,16 @@ mEntry->GetFamilyName(fontName); mEntry->GetStyleName(styleName); diff --git a/www/mozilla/patches/patch-aj b/www/mozilla/patches/patch-aj index 287e6c82abd..e72dd2c819f 100644 --- a/www/mozilla/patches/patch-aj +++ b/www/mozilla/patches/patch-aj @@ -1,8 +1,9 @@ -$NetBSD: patch-aj,v 1.9 2004/04/29 14:39:48 adam Exp $ +$NetBSD: patch-aj,v 1.10 2004/06/21 14:14:00 taya Exp $ ---- gfx/src/freetype/nsFreeType.h.orig 2003-06-11 18:15:22.000000000 +0000 -+++ gfx/src/freetype/nsFreeType.h -@@ -104,13 +104,13 @@ typedef FT_Error (*FT_Outline_Decompose_ +diff -ru ../Orig/mozilla/gfx/src/freetype/nsFreeType.h ./gfx/src/freetype/nsFreeType.h +--- ../Orig/mozilla/gfx/src/freetype/nsFreeType.h 2004-04-17 06:31:42.000000000 +0900 ++++ ./gfx/src/freetype/nsFreeType.h 2004-06-10 23:03:07.000000000 +0900 +@@ -104,13 +104,13 @@ typedef FT_Error (*FT_New_Face_t)(FT_Library, const char*, FT_Long, FT_Face*); typedef FT_Error (*FT_Set_Charmap_t)(FT_Face face, FT_CharMap charmap); typedef FT_Error (*FTC_Image_Cache_Lookup_t) @@ -17,10 +18,10 @@ $NetBSD: patch-aj,v 1.9 2004/04/29 14:39:48 adam Exp $ FTC_Face_Requester, FT_Pointer, FTC_Manager*); -typedef FT_Error (*FTC_Image_Cache_New_t)(FTC_Manager, FTC_Image_Cache*); +typedef FT_Error (*FTC_Image_Cache_New_t)(FTC_Manager, FTC_ImageCache*); - - typedef FT_ULong (*FT_Get_First_Char_t)(FT_Face, FT_UInt*); - typedef FT_ULong (*FT_Get_Next_Char_t)(FT_Face, FT_ULong, FT_UInt*); -@@ -157,7 +157,7 @@ protected: + // #ifdef MOZ_SVG + typedef FT_Error (*FT_Glyph_Transform_t)(FT_Glyph, FT_Matrix*, FT_Vector*); + typedef FT_Error (*FT_Get_Kerning_t) +@@ -165,7 +165,7 @@ FT_Outline_Decompose_t nsFT_Outline_Decompose; FT_Set_Charmap_t nsFT_Set_Charmap; FTC_Image_Cache_Lookup_t nsFTC_Image_Cache_Lookup; @@ -29,7 +30,7 @@ $NetBSD: patch-aj,v 1.9 2004/04/29 14:39:48 adam Exp $ FTC_Manager_Done_t nsFTC_Manager_Done; FTC_Manager_New_t nsFTC_Manager_New; FTC_Image_Cache_New_t nsFTC_Image_Cache_New; -@@ -195,7 +195,7 @@ protected: +@@ -213,7 +213,7 @@ PRLibrary *mSharedLib; FT_Library mFreeTypeLibrary; FTC_Manager mFTCacheManager; diff --git a/www/mozilla/patches/patch-ak b/www/mozilla/patches/patch-ak index b2ee7a714a5..dea013a41c0 100644 --- a/www/mozilla/patches/patch-ak +++ b/www/mozilla/patches/patch-ak @@ -1,23 +1,24 @@ -$NetBSD: patch-ak,v 1.10 2004/04/29 14:39:48 adam Exp $ +$NetBSD: patch-ak,v 1.11 2004/06/21 14:14:00 taya Exp $ ---- gfx/src/freetype/nsFreeType.cpp.orig 2003-09-07 22:20:37.000000000 +0000 -+++ gfx/src/freetype/nsFreeType.cpp -@@ -110,11 +110,11 @@ FtFuncList nsFreeType2::FtFuncs [] = { +diff -ru ../Orig/mozilla/gfx/src/freetype/nsFreeType.cpp ./gfx/src/freetype/nsFreeType.cpp +--- ../Orig/mozilla/gfx/src/freetype/nsFreeType.cpp 2004-02-08 00:22:30.000000000 +0900 ++++ ./gfx/src/freetype/nsFreeType.cpp 2004-06-10 23:05:42.000000000 +0900 +@@ -110,11 +110,11 @@ {"FT_New_Face", NS_FT2_OFFSET(nsFT_New_Face), PR_TRUE}, {"FT_Outline_Decompose", NS_FT2_OFFSET(nsFT_Outline_Decompose), PR_TRUE}, {"FT_Set_Charmap", NS_FT2_OFFSET(nsFT_Set_Charmap), PR_TRUE}, - {"FTC_Image_Cache_Lookup", NS_FT2_OFFSET(nsFTC_Image_Cache_Lookup), PR_TRUE}, - {"FTC_Manager_Lookup_Size", NS_FT2_OFFSET(nsFTC_Manager_Lookup_Size), PR_TRUE}, -+ {"FTC_ImageCache_Lookup", NS_FT2_OFFSET(nsFTC_Image_Cache_Lookup), PR_TRUE}, -+ {"FTC_Manager_LookupFace", NS_FT2_OFFSET(nsFTC_Manager_LookupFace), PR_TRUE}, ++ {"FTC_ImageCache_Lookup", NS_FT2_OFFSET(nsFTC_Image_Cache_Lookup), PR_TRUE}, ++ {"FTC_Manager_LookupFace", NS_FT2_OFFSET(nsFTC_Manager_LookupFace), PR_TRUE}, {"FTC_Manager_Done", NS_FT2_OFFSET(nsFTC_Manager_Done), PR_TRUE}, {"FTC_Manager_New", NS_FT2_OFFSET(nsFTC_Manager_New), PR_TRUE}, - {"FTC_Image_Cache_New", NS_FT2_OFFSET(nsFTC_Image_Cache_New), PR_TRUE}, -+ {"FTC_ImageCache_New", NS_FT2_OFFSET(nsFTC_Image_Cache_New), PR_TRUE}, - {"FT_Get_First_Char", NS_FT2_OFFSET(nsFT_Get_First_Char), PR_FALSE}, - {"FT_Get_Next_Char", NS_FT2_OFFSET(nsFT_Get_Next_Char), PR_FALSE}, - {nsnull, 0, 0}, -@@ -276,7 +276,7 @@ nsFreeType2::SetCharmap(FT_Face face, FT ++ {"FTC_ImageCache_New", NS_FT2_OFFSET(nsFTC_Image_Cache_New), PR_TRUE}, + // #ifdef MOZ_SVG + {"FT_Glyph_Transform", NS_FT2_OFFSET(nsFT_Glyph_Transform), PR_TRUE}, + {"FT_Get_Kerning", NS_FT2_OFFSET(nsFT_Get_Kerning), PR_TRUE}, +@@ -282,7 +282,7 @@ } NS_IMETHODIMP @@ -26,7 +27,7 @@ $NetBSD: patch-ak,v 1.10 2004/04/29 14:39:48 adam Exp $ FT_UInt glyphID, FT_Glyph *glyph) { // call the FreeType2 function via the function pointer -@@ -285,11 +285,11 @@ nsFreeType2::ImageCacheLookup(FTC_Image_ +@@ -291,11 +291,11 @@ } NS_IMETHODIMP @@ -41,7 +42,7 @@ $NetBSD: patch-ak,v 1.10 2004/04/29 14:39:48 adam Exp $ return error ? NS_ERROR_FAILURE : NS_OK; } -@@ -314,7 +314,7 @@ nsFreeType2::ManagerNew(FT_Library libra +@@ -320,7 +320,7 @@ } NS_IMETHODIMP @@ -50,7 +51,7 @@ $NetBSD: patch-ak,v 1.10 2004/04/29 14:39:48 adam Exp $ { // call the FreeType2 function via the function pointer FT_Error error = nsFTC_Image_Cache_New(manager, cache); -@@ -345,7 +345,7 @@ nsFreeType2::SupportsExtFunc(PRBool *res +@@ -389,7 +389,7 @@ } NS_IMETHODIMP diff --git a/www/mozilla/patches/patch-al b/www/mozilla/patches/patch-al index c61b5ae4ac2..1a02057ebb1 100644 --- a/www/mozilla/patches/patch-al +++ b/www/mozilla/patches/patch-al @@ -1,8 +1,9 @@ -$NetBSD: patch-al,v 1.8 2004/04/29 14:39:48 adam Exp $ +$NetBSD: patch-al,v 1.9 2004/06/21 14:14:00 taya Exp $ ---- gfx/src/ps/nsFontMetricsPS.h.orig 2004-04-29 11:13:06.000000000 +0000 -+++ gfx/src/ps/nsFontMetricsPS.h -@@ -320,7 +320,7 @@ protected: +diff -ru ../Orig/mozilla/gfx/src/ps/nsFontMetricsPS.h ./gfx/src/ps/nsFontMetricsPS.h +--- ../Orig/mozilla/gfx/src/ps/nsFontMetricsPS.h 2003-04-23 01:25:09.000000000 +0900 ++++ ./gfx/src/ps/nsFontMetricsPS.h 2004-06-10 23:06:23.000000000 +0900 +@@ -320,7 +320,7 @@ nsCOMPtr<nsITrueTypeFontCatalogEntry> mFaceID; nsCOMPtr<nsIFreeType2> mFt2; PRUint16 mPixelSize; @@ -11,7 +12,7 @@ $NetBSD: patch-al,v 1.8 2004/04/29 14:39:48 adam Exp $ static PRBool AddUserPref(nsIAtom *aLang, const nsFont& aFont, -@@ -363,7 +363,7 @@ public: +@@ -363,7 +363,7 @@ protected: nsCOMPtr<nsITrueTypeFontCatalogEntry> mEntry; nsCOMPtr<nsIFreeType2> mFt2; diff --git a/www/mozilla/patches/patch-am b/www/mozilla/patches/patch-am deleted file mode 100644 index 0d96fb264f8..00000000000 --- a/www/mozilla/patches/patch-am +++ /dev/null @@ -1,14 +0,0 @@ -$NetBSD: patch-am,v 1.13 2004/02/01 13:04:17 taya Exp $ - -diff -ru ../Orig/mozilla/nsprpub/pr/src/pthreads/ptio.c ./nsprpub/pr/src/pthreads/ptio.c ---- ../Orig/mozilla/nsprpub/pr/src/pthreads/ptio.c 2003-11-27 10:30:44.000000000 +0900 -+++ ./nsprpub/pr/src/pthreads/ptio.c 2004-01-16 23:17:38.000000000 +0900 -@@ -205,7 +205,7 @@ - #elif defined(IRIX) || defined(OSF1) || defined(AIX) || defined(HPUX) \ - || defined(LINUX) || defined(FREEBSD) || defined(BSDI) || defined(VMS) \ - || defined(NTO) || defined(OPENBSD) || defined(DARWIN) \ -- || defined(UNIXWARE) -+ || defined(UNIXWARE) || defined(NETBSD) - #define _PRSockOptVal_t void * - #else - #error "Cannot determine architecture" diff --git a/www/mozilla/patches/patch-an b/www/mozilla/patches/patch-an index a983fda57e0..c68474b3646 100644 --- a/www/mozilla/patches/patch-an +++ b/www/mozilla/patches/patch-an @@ -1,8 +1,9 @@ -$NetBSD: patch-an,v 1.6 2004/04/29 14:39:48 adam Exp $ +$NetBSD: patch-an,v 1.7 2004/06/21 14:14:00 taya Exp $ ---- gfx/src/x11shared/nsFontFreeType.h.orig 2004-04-29 12:34:09.000000000 +0000 -+++ gfx/src/x11shared/nsFontFreeType.h -@@ -110,7 +110,7 @@ protected: +diff -ru ../Orig/mozilla/gfx/src/x11shared/nsFontFreeType.h ./gfx/src/x11shared/nsFontFreeType.h +--- ../Orig/mozilla/gfx/src/x11shared/nsFontFreeType.h 2003-04-23 01:25:13.000000000 +0900 ++++ ./gfx/src/x11shared/nsFontFreeType.h 2004-06-10 23:06:35.000000000 +0900 +@@ -110,7 +110,7 @@ XImage *GetXImage(PRUint32 width, PRUint32 height); nsITrueTypeFontCatalogEntry *mFaceID; PRUint16 mPixelSize; diff --git a/www/mozilla/patches/patch-ao b/www/mozilla/patches/patch-ao index a5d7aad1d9a..48070595e46 100644 --- a/www/mozilla/patches/patch-ao +++ b/www/mozilla/patches/patch-ao @@ -1,8 +1,9 @@ -$NetBSD: patch-ao,v 1.4 2004/04/29 14:39:48 adam Exp $ +$NetBSD: patch-ao,v 1.5 2004/06/21 14:14:00 taya Exp $ ---- gfx/src/x11shared/nsFontFreeType.cpp.orig 2004-04-29 12:32:42.000000000 +0000 -+++ gfx/src/x11shared/nsFontFreeType.cpp -@@ -177,7 +177,7 @@ nsFreeTypeFont::getFTFace() +diff -ru ../Orig/mozilla/gfx/src/x11shared/nsFontFreeType.cpp ./gfx/src/x11shared/nsFontFreeType.cpp +--- ../Orig/mozilla/gfx/src/x11shared/nsFontFreeType.cpp 2003-12-25 17:24:52.000000000 +0900 ++++ ./gfx/src/x11shared/nsFontFreeType.cpp 2004-06-10 23:06:38.000000000 +0900 +@@ -177,7 +177,7 @@ FTC_Manager mgr; nsresult rv; mFt2->GetFTCacheManager(&mgr); @@ -11,7 +12,7 @@ $NetBSD: patch-ao,v 1.4 2004/04/29 14:39:48 adam Exp $ NS_ASSERTION(NS_SUCCEEDED(rv), "failed to get face/size"); if (NS_FAILED(rv)) return nsnull; -@@ -191,22 +191,15 @@ nsFreeTypeFont::nsFreeTypeFont(nsITrueTy +@@ -191,22 +191,15 @@ PRBool embedded_bimap = PR_FALSE; mFaceID = aFaceID; mPixelSize = aPixelSize; @@ -38,7 +39,7 @@ $NetBSD: patch-ao,v 1.4 2004/04/29 14:39:48 adam Exp $ PRUint32 num_embedded_bitmaps, i; PRInt32* embedded_bitmapheights; mFaceID->GetEmbeddedBitmapHeights(&num_embedded_bitmaps, -@@ -218,7 +211,6 @@ nsFreeTypeFont::nsFreeTypeFont(nsITrueTy +@@ -218,7 +211,6 @@ if (embedded_bitmapheights[i] == aPixelSize) { embedded_bimap = PR_TRUE; // unhinted must be set for embedded bitmaps to be used @@ -46,7 +47,7 @@ $NetBSD: patch-ao,v 1.4 2004/04/29 14:39:48 adam Exp $ break; } } -@@ -312,7 +304,7 @@ nsFreeTypeFont::doGetBoundingMetrics(con +@@ -312,7 +304,7 @@ if (!face) return NS_ERROR_FAILURE; @@ -55,7 +56,7 @@ $NetBSD: patch-ao,v 1.4 2004/04/29 14:39:48 adam Exp $ mFt2->GetImageCache(&icache); if (!icache) return NS_ERROR_FAILURE; -@@ -401,7 +393,7 @@ nsFreeTypeFont::GetWidth(const PRUnichar +@@ -401,7 +393,7 @@ if (!face) return 0; @@ -64,7 +65,7 @@ $NetBSD: patch-ao,v 1.4 2004/04/29 14:39:48 adam Exp $ mFt2->GetImageCache(&icache); if (!icache) return 0; -@@ -725,7 +717,7 @@ nsFreeTypeXImage::DrawString(nsRendering +@@ -723,7 +715,7 @@ if (y%4==0) (*blendPixelFunc)(sub_image, y, ascent-1, black, 255/2); #endif diff --git a/www/mozilla/patches/patch-aw b/www/mozilla/patches/patch-aw index 48141b1d8a1..b7a21f98ee2 100644 --- a/www/mozilla/patches/patch-aw +++ b/www/mozilla/patches/patch-aw @@ -1,13 +1,13 @@ -$NetBSD: patch-aw,v 1.17 2004/01/17 00:04:49 taya Exp $ +$NetBSD: patch-aw,v 1.18 2004/06/21 14:14:00 taya Exp $ diff -ru ../Orig/mozilla/widget/src/gtksuperwin/Makefile.in ./widget/src/gtksuperwin/Makefile.in ---- ../Orig/mozilla/widget/src/gtksuperwin/Makefile.in 2003-04-19 05:14:09.000000000 +0900 -+++ ./widget/src/gtksuperwin/Makefile.in 2004-01-16 23:17:41.000000000 +0900 +--- ../Orig/mozilla/widget/src/gtksuperwin/Makefile.in 2004-01-07 22:36:54.000000000 +0900 ++++ ./widget/src/gtksuperwin/Makefile.in 2004-06-10 23:06:44.000000000 +0900 @@ -25,6 +25,7 @@ MODULE = widget LIBRARY_NAME = gtksuperwin EXPORT_LIBRARY = 1 +MKSHLIB = $(MKCSHLIB) + PACKAGE_FILE = gtksuperwin.pkg - CSRCS = \ diff --git a/www/mozilla/patches/patch-ax b/www/mozilla/patches/patch-ax index 90aca81a837..f802bd02b00 100644 --- a/www/mozilla/patches/patch-ax +++ b/www/mozilla/patches/patch-ax @@ -1,8 +1,9 @@ -$NetBSD: patch-ax,v 1.9 2004/04/24 10:36:15 grant Exp $ +$NetBSD: patch-ax,v 1.10 2004/06/21 14:14:00 taya Exp $ ---- security/coreconf/SunOS5.mk.orig 2003-03-21 15:45:37.000000000 +1100 -+++ security/coreconf/SunOS5.mk -@@ -165,6 +165,10 @@ endif +diff -ru ../Orig/mozilla/security/coreconf/SunOS5.mk ./security/coreconf/SunOS5.mk +--- ../Orig/mozilla/security/coreconf/SunOS5.mk 2003-05-16 04:12:10.000000000 +0900 ++++ ./security/coreconf/SunOS5.mk 2004-06-10 23:06:47.000000000 +0900 +@@ -165,6 +165,10 @@ DSO_LDOPTS += -G -h $(notdir $@) endif diff --git a/www/mozilla/patches/patch-ba b/www/mozilla/patches/patch-ba index 28de33eab6e..161881d9faf 100644 --- a/www/mozilla/patches/patch-ba +++ b/www/mozilla/patches/patch-ba @@ -1,8 +1,8 @@ -$NetBSD: patch-ba,v 1.17 2004/06/01 15:01:18 taya Exp $ +$NetBSD: patch-ba,v 1.18 2004/06/21 14:14:00 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 2000-12-02 06:29:17.000000000 +0900 -+++ ./nsprpub/pr/include/md/_netbsd.cfg 2004-05-30 23:39:50.000000000 +0900 ++++ ./nsprpub/pr/include/md/_netbsd.cfg 2004-06-10 23:06:59.000000000 +0900 @@ -45,7 +45,8 @@ #define PR_AF_INET6 24 /* same as AF_INET6 */ diff --git a/www/mozilla/patches/patch-bb b/www/mozilla/patches/patch-bb index 370ae836e4d..8b61933f07f 100644 --- a/www/mozilla/patches/patch-bb +++ b/www/mozilla/patches/patch-bb @@ -1,8 +1,8 @@ -$NetBSD: patch-bb,v 1.18 2004/06/01 15:01:18 taya Exp $ +$NetBSD: patch-bb,v 1.19 2004/06/21 14:14:00 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 2003-09-12 02:24:53.000000000 +0900 -+++ ./nsprpub/pr/include/md/_netbsd.h 2004-05-30 23:41:41.000000000 +0900 ++++ ./nsprpub/pr/include/md/_netbsd.h 2004-06-10 23:07:02.000000000 +0900 @@ -44,16 +44,26 @@ #define _PR_SI_ARCHITECTURE "x86" #elif defined(__alpha__) diff --git a/www/mozilla/patches/patch-bm b/www/mozilla/patches/patch-bm index 126939103b1..524f7b77cbb 100644 --- a/www/mozilla/patches/patch-bm +++ b/www/mozilla/patches/patch-bm @@ -1,8 +1,8 @@ -$NetBSD: patch-bm,v 1.5 2004/01/17 00:04:49 taya Exp $ +$NetBSD: patch-bm,v 1.6 2004/06/21 14:14:01 taya Exp $ diff -ru ../Orig/mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_arm_netbsd.cpp ./xpcom/reflect/xptcall/src/md/unix/xptcstubs_arm_netbsd.cpp --- ../Orig/mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_arm_netbsd.cpp 2001-09-29 05:12:52.000000000 +0900 -+++ ./xpcom/reflect/xptcall/src/md/unix/xptcstubs_arm_netbsd.cpp 2004-01-16 23:17:51.000000000 +0900 ++++ ./xpcom/reflect/xptcall/src/md/unix/xptcstubs_arm_netbsd.cpp 2004-06-10 23:07:04.000000000 +0900 @@ -118,18 +118,23 @@ * so they are contiguous with values passed on the stack, and then calls * PrepareAndDispatch() to do the dirty work. diff --git a/www/mozilla/patches/patch-bn b/www/mozilla/patches/patch-bn index e72095eacad..bccde3c3308 100644 --- a/www/mozilla/patches/patch-bn +++ b/www/mozilla/patches/patch-bn @@ -1,9 +1,9 @@ -$NetBSD: patch-bn,v 1.4 2004/01/17 00:04:49 taya Exp $ +$NetBSD: patch-bn,v 1.5 2004/06/21 14:14:01 taya Exp $ diff -ru ../Orig/mozilla/xpcom/io/nsNativeCharsetUtils.cpp ./xpcom/io/nsNativeCharsetUtils.cpp ---- ../Orig/mozilla/xpcom/io/nsNativeCharsetUtils.cpp 2004-01-08 10:25:56.000000000 +0900 -+++ ./xpcom/io/nsNativeCharsetUtils.cpp 2004-01-16 23:17:54.000000000 +0900 -@@ -294,7 +294,12 @@ +--- ../Orig/mozilla/xpcom/io/nsNativeCharsetUtils.cpp 2004-05-14 06:57:47.000000000 +0900 ++++ ./xpcom/io/nsNativeCharsetUtils.cpp 2004-06-10 23:07:06.000000000 +0900 +@@ -295,7 +295,12 @@ { const char *blank_list[] = { "", NULL }; const char **native_charset_list = blank_list; diff --git a/www/mozilla/patches/patch-bo b/www/mozilla/patches/patch-bo index 6a7369dd321..69a7b803efd 100644 --- a/www/mozilla/patches/patch-bo +++ b/www/mozilla/patches/patch-bo @@ -1,9 +1,9 @@ -$NetBSD: patch-bo,v 1.6 2004/02/01 13:04:18 taya Exp $ +$NetBSD: patch-bo,v 1.7 2004/06/21 14:14:01 taya Exp $ diff -ru ../Orig/mozilla/nsprpub/configure.in ./nsprpub/configure.in ---- ../Orig/mozilla/nsprpub/configure.in 2003-12-16 04:58:56.000000000 +0900 -+++ ./nsprpub/configure.in 2004-01-31 21:30:19.000000000 +0900 -@@ -930,6 +930,9 @@ +--- ../Orig/mozilla/nsprpub/configure.in 2004-04-17 07:28:02.000000000 +0900 ++++ ./nsprpub/configure.in 2004-06-10 23:07:10.000000000 +0900 +@@ -933,6 +933,9 @@ DSO_LDOPTS='-shared -Wl,-soname -Wl,$(notdir $@)' MDCPUCFG_H=_freebsd.cfg PR_MD_CSRCS=freebsd.c @@ -13,17 +13,3 @@ diff -ru ../Orig/mozilla/nsprpub/configure.in ./nsprpub/configure.in ;; *-hpux*) -@@ -2182,7 +2185,12 @@ - _PTHREAD_LDFLAGS="-lc_r" - fi - ;; -- *-openbsd*|*-bsdi*|*-netbsd*) -+ *-netbsd*) -+ if test "$ac_cv_have_dash_pthread" = "yes"; then -+ _PTHREAD_LDFLAGS="-pthread" -+ fi -+ ;; -+ *-openbsd*|*-bsdi*) - AC_DEFINE(_THREAD_SAFE) - dnl -pthread links in -lc_r, so don't specify it explicitly. - if test "$ac_cv_have_dash_pthread" = "yes"; then diff --git a/www/mozilla/patches/patch-bp b/www/mozilla/patches/patch-bp deleted file mode 100644 index 396d404d3b2..00000000000 --- a/www/mozilla/patches/patch-bp +++ /dev/null @@ -1,14 +0,0 @@ -$NetBSD: patch-bp,v 1.4 2004/01/17 00:04:49 taya Exp $ - -diff -ru ../Orig/mozilla/other-licenses/libical/src/libical/Makefile.in ./other-licenses/libical/src/libical/Makefile.in ---- ../Orig/mozilla/other-licenses/libical/src/libical/Makefile.in 2003-01-08 13:59:28.000000000 +0900 -+++ ./other-licenses/libical/src/libical/Makefile.in 2004-01-16 23:18:03.000000000 +0900 -@@ -179,7 +179,7 @@ - $(PERL) $(ICALSCRIPTS)/mkrestrictiontable.pl -i $(srcdir)/icalrestriction.c.in \ - $(DESIGNDATA)/restrictions.csv > icalrestriction.c - --ifneq (,$(filter BeOS Darwin OpenVMS,$(OS_ARCH))) -+ifneq (,$(filter BeOS Darwin OpenVMS NetBSD FreeBSD,$(OS_ARCH))) - DEFINES += -D__USE_BSD=1 - endif - diff --git a/www/mozilla/patches/patch-bq b/www/mozilla/patches/patch-bq index 456ea9d7877..b6ebd997f81 100644 --- a/www/mozilla/patches/patch-bq +++ b/www/mozilla/patches/patch-bq @@ -1,8 +1,8 @@ -$NetBSD: patch-bq,v 1.7 2004/04/25 13:27:06 tron Exp $ +$NetBSD: patch-bq,v 1.8 2004/06/21 14:14:01 taya Exp $ diff -ru ../Orig/mozilla/xpcom/io/nsLocalFileUnix.h ./xpcom/io/nsLocalFileUnix.h ---- ../Orig/mozilla/xpcom/io/nsLocalFileUnix.h 2003-07-19 07:14:16.000000000 +0900 -+++ ./xpcom/io/nsLocalFileUnix.h 2004-04-23 15:01:23.000000000 +0900 +--- ../Orig/mozilla/xpcom/io/nsLocalFileUnix.h 2004-01-15 15:14:13.000000000 +0900 ++++ ./xpcom/io/nsLocalFileUnix.h 2004-06-10 23:07:36.000000000 +0900 @@ -57,7 +57,7 @@ #endif diff --git a/www/mozilla/patches/patch-br b/www/mozilla/patches/patch-br index ac87bdfa7e2..2f2ea5e357e 100644 --- a/www/mozilla/patches/patch-br +++ b/www/mozilla/patches/patch-br @@ -1,7 +1,8 @@ -$NetBSD: patch-br,v 1.3 2004/02/22 12:02:55 taya Exp $ +$NetBSD: patch-br,v 1.4 2004/06/21 14:14:01 taya Exp $ ---- nsprpub/pr/src/misc/prnetdb.c.orig 2004-02-19 21:45:15.000000000 +0900 -+++ nsprpub/pr/src/misc/prnetdb.c 2004-02-19 21:50:57.000000000 +0900 +diff -ru ../Orig/mozilla/nsprpub/pr/src/misc/prnetdb.c ./nsprpub/pr/src/misc/prnetdb.c +--- ../Orig/mozilla/nsprpub/pr/src/misc/prnetdb.c 2004-01-23 07:22:37.000000000 +0900 ++++ ./nsprpub/pr/src/misc/prnetdb.c 2004-06-10 23:07:42.000000000 +0900 @@ -2094,7 +2094,12 @@ */ hints.ai_socktype = SOCK_STREAM; @@ -14,4 +15,4 @@ $NetBSD: patch-br,v 1.3 2004/02/22 12:02:55 taya Exp $ + if (rv == 0) return (PRAddrInfo *) res; - + diff --git a/www/mozilla/patches/patch-bs b/www/mozilla/patches/patch-bs index 00f1b5202e4..c95dc2fc309 100644 --- a/www/mozilla/patches/patch-bs +++ b/www/mozilla/patches/patch-bs @@ -1,7 +1,8 @@ -$NetBSD: patch-bs,v 1.1 2004/05/30 14:02:01 sekiya Exp $ +$NetBSD: patch-bs,v 1.2 2004/06/21 14:14:01 taya Exp $ ---- config/mkdepend/imakemdep.h.orig 2004-05-30 11:16:09.000000000 +0900 -+++ config/mkdepend/imakemdep.h 2004-05-30 11:17:01.000000000 +0900 +diff -ru ../Orig/mozilla/config/mkdepend/imakemdep.h ./config/mkdepend/imakemdep.h +--- ../Orig/mozilla/config/mkdepend/imakemdep.h 1998-09-05 13:22:25.000000000 +0900 ++++ ./config/mkdepend/imakemdep.h 2004-06-10 23:07:44.000000000 +0900 @@ -277,6 +277,9 @@ # ifdef __i386__ "-D__i386__", diff --git a/www/mozilla/patches/patch-bt b/www/mozilla/patches/patch-bt index 1bef920a2b7..6f53d8e4508 100644 --- a/www/mozilla/patches/patch-bt +++ b/www/mozilla/patches/patch-bt @@ -1,16 +1,17 @@ -$NetBSD: patch-bt,v 1.1 2004/05/30 14:02:01 sekiya Exp $ +$NetBSD: patch-bt,v 1.2 2004/06/21 14:14:01 taya Exp $ ---- nsprpub/pr/src/io/prprf.c.orig 2003-02-27 08:53:42.000000000 +0900 -+++ nsprpub/pr/src/io/prprf.c 2004-05-30 14:47:15.000000000 +0900 -@@ -51,7 +51,10 @@ - ** Note: on some platforms va_list is defined as an array, - ** and requires array notation. +diff -ru ../Orig/mozilla/nsprpub/pr/src/io/prprf.c ./nsprpub/pr/src/io/prprf.c +--- ../Orig/mozilla/nsprpub/pr/src/io/prprf.c 2004-03-09 12:18:19.000000000 +0900 ++++ ./nsprpub/pr/src/io/prprf.c 2004-06-10 23:42:04.000000000 +0900 +@@ -53,6 +53,11 @@ */ --#if (defined(LINUX) && defined(__powerpc__)) || \ -+#if defined(__amd64__) + #if (defined(LINUX) && defined(__x86_64__)) + #define VARARGS_ASSIGN(foo, bar) __va_copy((foo), (bar)) ++#elif (defined (__NetBSD__) && \ ++ (defined(__amd64__) || \ ++ (defined(__powerpc__) && __NetBSD_Version__ >= 105000000))) +#include <stdarg.h> +#define VARARGS_ASSIGN(foo, bar) va_copy((foo), (bar)) -+#elif (defined(LINUX) && defined(__powerpc__)) || \ + #elif (defined(LINUX) && defined(__powerpc__)) || \ (defined(LINUX) && defined(__s390__)) || \ (defined(LINUX) && defined(__s390x__)) || \ - defined(WIN16) || defined(QNX) || \ diff --git a/www/mozilla/patches/patch-bw b/www/mozilla/patches/patch-bw index 80a8fa44a9b..2b7b774a158 100644 --- a/www/mozilla/patches/patch-bw +++ b/www/mozilla/patches/patch-bw @@ -1,4 +1,4 @@ -$NetBSD: patch-bw,v 1.1 2004/06/01 15:01:18 taya Exp $ +$NetBSD: patch-bw,v 1.2 2004/06/21 14:14:01 taya Exp $ diff -ru ../Orig/mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_linux_alpha.cpp ./xpcom/reflect/xptcall/src/md/unix/xptcstubs_linux_alpha.cpp --- ../Orig/mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_linux_alpha.cpp 2001-09-29 05:12:52.000000000 +0900 @@ -23,8 +23,8 @@ diff -ru ../Orig/mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_linux_alpha +" .prologue 1\n" \ +" lda $1,"#n"\n" \ +" br $31,$SharedStub..ng\n" \ -+" .end _ZN14nsXPTCStubBase5Stub"#n"Ev" \ -+" .elseif "#n" < 100 \n" \ ++" .end _ZN14nsXPTCStubBase5Stub"#n"Ev\n" \ ++" .elseif "#n" < 100 \n" \ +" .globl _ZN14nsXPTCStubBase6Stub"#n"Ev\n" \ +" .ent _ZN14nsXPTCStubBase6Stub"#n"Ev\n" \ +"_ZN14nsXPTCStubBase6Stub"#n"Ev:\n" \ @@ -34,7 +34,7 @@ diff -ru ../Orig/mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_linux_alpha +" .prologue 1\n" \ +" lda $1,"#n"\n" \ +" br $31,$SharedStub..ng\n" \ -+" .end _ZN14nsXPTCStubBase6Stub"#n"Ev" \ ++" .end _ZN14nsXPTCStubBase6Stub"#n"Ev\n" \ +" .elseif "#n" < 1000 \n" \ +" .globl _ZN14nsXPTCStubBase7Stub"#n"Ev\n" \ +" .ent _ZN14nsXPTCStubBase7Stub"#n"Ev\n" \ @@ -45,7 +45,7 @@ diff -ru ../Orig/mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_linux_alpha +" .prologue 1\n" \ +" lda $1,"#n"\n" \ +" br $31,$SharedStub..ng\n" \ -+" .end _ZN14nsXPTCStubBase7Stub"#n"Ev" \ ++" .end _ZN14nsXPTCStubBase7Stub"#n"Ev\n" \ +" .else\n" \ +" .err \"stub number "#n"> 1000 not yet supported\"\n" \ +" .endif\n" \ diff --git a/www/mozilla/patches/patch-bx b/www/mozilla/patches/patch-bx new file mode 100644 index 00000000000..66f8eb4b17d --- /dev/null +++ b/www/mozilla/patches/patch-bx @@ -0,0 +1,61 @@ +$NetBSD: patch-bx,v 1.1 2004/06/21 14:14:01 taya Exp $ + +diff -ru ../Orig/mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_ppc_netbsd.cpp ./xpcom/reflect/xptcall/src/md/unix/xptcstubs_ppc_netbsd.cpp +--- ../Orig/mozilla/xpcom/reflect/xptcall/src/md/unix/xptcstubs_ppc_netbsd.cpp 2001-09-29 05:12:53.000000000 +0900 ++++ ./xpcom/reflect/xptcall/src/md/unix/xptcstubs_ppc_netbsd.cpp 2004-06-10 23:12:38.000000000 +0900 +@@ -195,6 +195,47 @@ + // however, it's quick, dirty, and'll break when the ABI changes on + // us, which is what we want ;-). + ++#if defined(__GXX_ABI_VERSION) && __GXX_ABI_VERSION >= 100 /* G++ V3 ABI */ ++// gcc-3 version ++// ++// As G++3 ABI contains the length of the functionname in the mangled ++// name, it is difficult to get a generic assembler mechanism like ++// in the G++ 2.95 case. ++// Create names would be like: ++// _ZN14nsXPTCStubBase5Stub1Ev ++// _ZN14nsXPTCStubBase6Stub12Ev ++// _ZN14nsXPTCStubBase7Stub123Ev ++// _ZN14nsXPTCStubBase8Stub1234Ev ++// etc. ++// Use assembler directives to get the names right... ++ ++# define STUB_ENTRY(n) \ ++__asm__ ( \ ++ ".section \".text\" \n\t" \ ++ ".align 2 \n\t" \ ++ ".if "#n" < 10 \n\t" \ ++ ".globl _ZN14nsXPTCStubBase5Stub"#n"Ev \n\t" \ ++ ".type _ZN14nsXPTCStubBase5Stub"#n"Ev,@function \n\n" \ ++"_ZN14nsXPTCStubBase5Stub"#n"Ev: \n\t" \ ++ \ ++ ".elseif "#n" < 100 \n\t" \ ++ ".globl _ZN14nsXPTCStubBase6Stub"#n"Ev \n\t" \ ++ ".type _ZN14nsXPTCStubBase6Stub"#n"Ev,@function \n\n" \ ++"_ZN14nsXPTCStubBase6Stub"#n"Ev: \n\t" \ ++ \ ++ ".elseif "#n" < 1000 \n\t" \ ++ ".globl _ZN14nsXPTCStubBase7Stub"#n"Ev \n\t" \ ++ ".type _ZN14nsXPTCStubBase7Stub"#n"Ev,@function \n\n" \ ++"_ZN14nsXPTCStubBase7Stub"#n"Ev: \n\t" \ ++ \ ++ ".else \n\t" \ ++ ".err \"stub number "#n" >= 1000 not yet supported\"\n" \ ++ ".endif \n\t" \ ++ \ ++ "li 11,"#n" \n\t" \ ++ "b SharedStub@local \n" \ ++); ++#else + #define STUB_ENTRY(n) \ + __asm__ ( \ + ".section \".text\" \n\t" \ +@@ -206,6 +247,7 @@ + "li 11,"#n" \n\t" \ + "b SharedStub@local \n" \ + ); ++#endif + + #define SENTINEL_ENTRY(n) \ + nsresult nsXPTCStubBase::Sentinel##n() \ diff --git a/www/mozilla/patches/patch-by b/www/mozilla/patches/patch-by new file mode 100644 index 00000000000..b17dc06bcc8 --- /dev/null +++ b/www/mozilla/patches/patch-by @@ -0,0 +1,31 @@ +$NetBSD: patch-by,v 1.1 2004/06/21 14:14:01 taya Exp $ + +diff -ru ../Orig/mozilla/layout/svg/renderer/src/libart/nsSVGLibartGlyphMetricsFT.cpp ./layout/svg/renderer/src/libart/nsSVGLibartGlyphMetricsFT.cpp +--- ../Orig/mozilla/layout/svg/renderer/src/libart/nsSVGLibartGlyphMetricsFT.cpp 2004-03-19 10:36:16.000000000 +0900 ++++ ./layout/svg/renderer/src/libart/nsSVGLibartGlyphMetricsFT.cpp 2004-06-12 01:39:02.000000000 +0900 +@@ -440,19 +440,19 @@ + return; + } + +- FTC_Image_Desc imageDesc; +- imageDesc.font.face_id=(void*)font_data.font_entry.get(); // XXX do we need to addref? ++ FTC_ImageType imageDesc; ++ imageDesc->face_id = (FTC_FaceID)font_data.font_entry.get(); // XXX do we need to addref? + float twipstopixel = GetTwipsToPixels(); + float scale = GetPixelScale(); +- imageDesc.font.pix_width = (int)((float)(font_data.font.size)*twipstopixel/scale); +- imageDesc.font.pix_height = (int)((float)(font_data.font.size)*twipstopixel/scale); +- imageDesc.image_type |= ftc_image_grays; ++ imageDesc->width = (int)((float)(font_data.font.size)*twipstopixel/scale); ++ imageDesc->height = (int)((float)(font_data.font.size)*twipstopixel/scale); ++ imageDesc->flags = 0; + + // get the face + nsresult rv; + FTC_Manager mgr; + nsSVGLibartFreetype::ft2->GetFTCacheManager(&mgr); +- rv = nsSVGLibartFreetype::ft2->ManagerLookupSize(mgr, &imageDesc.font, &mFace, nsnull); ++ rv = nsSVGLibartFreetype::ft2->ManagerLookupFace(mgr, imageDesc->face_id, &mFace); + NS_ASSERTION(mFace, "failed to get face/size"); + } + |