summaryrefslogtreecommitdiff
path: root/www/mozilla/patches
diff options
context:
space:
mode:
authortaya <taya@pkgsrc.org>2001-05-11 00:37:45 +0000
committertaya <taya@pkgsrc.org>2001-05-11 00:37:45 +0000
commita43de9108baf9af4412e33a35cda04e79f40be28 (patch)
tree192c6f2f4feb1ad496aef898aa7f2a98eda717e6 /www/mozilla/patches
parent45f8fc8d727978950eff6180628be14c3594ae85 (diff)
downloadpkgsrc-a43de9108baf9af4412e33a35cda04e79f40be28.tar.gz
Most notable changes are:
* Personal Security Manager 2.0 with improved performance and new UI. * MailNews front end has been overhauled with a huge performance improvement. * Browser and Mail now utilize a new cache, and new viewmanager for improved performance and correctness. * Image rendering library was rewritten from scratch for increased preformance. See the release notes below for detail: http://www.mozilla.org/releases/mozilla0.9/
Diffstat (limited to 'www/mozilla/patches')
-rw-r--r--www/mozilla/patches/patch-ao35
-rw-r--r--www/mozilla/patches/patch-aq8
-rw-r--r--www/mozilla/patches/patch-ar14
-rw-r--r--www/mozilla/patches/patch-as68
-rw-r--r--www/mozilla/patches/patch-at15
-rw-r--r--www/mozilla/patches/patch-au20
-rw-r--r--www/mozilla/patches/patch-av17
7 files changed, 48 insertions, 129 deletions
diff --git a/www/mozilla/patches/patch-ao b/www/mozilla/patches/patch-ao
deleted file mode 100644
index 85ddb3e6b3d..00000000000
--- a/www/mozilla/patches/patch-ao
+++ /dev/null
@@ -1,35 +0,0 @@
-$NetBSD: patch-ao,v 1.2 2001/02/17 11:03:28 taya Exp $
-
-diff -ru ../Orig/mozilla/security/psm/server/Makefile ./security/psm/server/Makefile
---- ../Orig/mozilla/security/psm/server/Makefile Thu Feb 8 06:05:21 2001
-+++ ./security/psm/server/Makefile Sat Feb 17 02:11:30 2001
-@@ -44,9 +44,13 @@
- CPLUSPLUSRUNTIME = -L /usr/lib -lstdc++ -lm
- else
- # libC, presumably, is what we must link with elsewhere
-+ifeq ($(OS_ARCH), NetBSD)
-+CPLUSPLUSRUNTIME = -lm
-+else
- CPLUSPLUSRUNTIME = -lC -lm
- endif
- endif
-+endif
-
- INCLUDES += -I$(CORE_DEPTH)/../dist/public/nlslayer -I$(CORE_DEPTH)/../dist/include
-
-@@ -152,9 +156,14 @@
- NSPR_LINK_LIBS = -L$(DIST)/lib -Bdynamic -lnspr4 -lplc4 -lplds4
- XPCOM_LINK_LIBS = -lxpcom
- XPCOM_LIBS += $(DIST)/lib/libz.$(DLL_SUFFIX)
--else
-+else # SunOS
-+ifeq ($(OS_ARCH), NetBSD)
-+NSPR_LINK_LIBS = -L$(DIST)/lib -lnspr4 -lplc4 -lplds4
-+XPCOM_LINK_LIBS = -lxpcom
-+else # NetBSD
- NSPR_LINK_LIBS = $(NSPR_LIBS)
- XPCOM_LINK_LIBS = $(XPCOM_LIBS)
-+endif
- endif
-
- ifndef MOZ_DIST
diff --git a/www/mozilla/patches/patch-aq b/www/mozilla/patches/patch-aq
index a4453ae1b84..185a2652420 100644
--- a/www/mozilla/patches/patch-aq
+++ b/www/mozilla/patches/patch-aq
@@ -1,9 +1,9 @@
-$NetBSD: patch-aq,v 1.1 2001/01/16 16:01:24 taya Exp $
+$NetBSD: patch-aq,v 1.2 2001/05/11 00:37:46 taya Exp $
diff -ru ../Orig/mozilla/security/nss/lib/freebl/Makefile ./security/nss/lib/freebl/Makefile
---- ../Orig/mozilla/security/nss/lib/freebl/Makefile Tue Oct 3 07:52:43 2000
-+++ ./security/nss/lib/freebl/Makefile Mon Jan 15 15:37:55 2001
-@@ -200,6 +200,17 @@
+--- ../Orig/mozilla/security/nss/lib/freebl/Makefile Thu Mar 15 08:30:37 2001
++++ ./security/nss/lib/freebl/Makefile Mon May 7 05:40:18 2001
+@@ -265,6 +265,17 @@
MPI_OBJS = $(addprefix $(OBJDIR)/$(PROG_PREFIX), $(MPI_SRCS:.c=$(OBJ_SUFFIX)))
MPI_OBJS += $(addprefix $(OBJDIR)/$(PROG_PREFIX), $(MPI_USERS:.c=$(OBJ_SUFFIX)))
diff --git a/www/mozilla/patches/patch-ar b/www/mozilla/patches/patch-ar
index 47fee28c06b..53da1dc0d69 100644
--- a/www/mozilla/patches/patch-ar
+++ b/www/mozilla/patches/patch-ar
@@ -1,9 +1,9 @@
-$NetBSD: patch-ar,v 1.1 2001/03/30 09:37:50 taya Exp $
+$NetBSD: patch-ar,v 1.2 2001/05/11 00:37:46 taya Exp $
diff -ru ../Orig/mozilla/nsprpub/configure.in ./nsprpub/configure.in
---- ../Orig/mozilla/nsprpub/configure.in Sun Mar 11 15:24:30 2001
-+++ ./nsprpub/configure.in Sat Mar 24 01:33:09 2001
-@@ -1073,24 +1073,29 @@
+--- ../Orig/mozilla/nsprpub/configure.in Tue Apr 17 08:22:28 2001
++++ ./nsprpub/configure.in Mon May 7 05:40:30 2001
+@@ -1121,24 +1121,29 @@
AC_DEFINE(XP_UNIX)
AC_DEFINE(NETBSD)
AC_DEFINE(HAVE_BSD_FLOCK)
@@ -42,9 +42,9 @@ diff -ru ../Orig/mozilla/nsprpub/configure.in ./nsprpub/configure.in
- DSO_LDOPTS="$DSO_LDOPTS -R$(LIBRUNPATH)"
+ DSO_LDOPTS="$DSO_LDOPTS -Wl,-R$LIBRUNPATH"
fi
- ;;
-
-@@ -1777,11 +1782,6 @@
+ MDCPUCFG_H=_netbsd.cfg
+ PR_MD_CSRCS=netbsd.c
+@@ -1868,11 +1873,6 @@
_PTHREAD_LDFLAGS=
USE_USER_PTHREADS=
;;
diff --git a/www/mozilla/patches/patch-as b/www/mozilla/patches/patch-as
deleted file mode 100644
index 71139ab6d86..00000000000
--- a/www/mozilla/patches/patch-as
+++ /dev/null
@@ -1,68 +0,0 @@
-$NetBSD: patch-as,v 1.1 2001/03/30 09:37:50 taya Exp $
-
-diff -ru ../Orig/mozilla/netwerk/dns/src/nsDnsService.cpp ./netwerk/dns/src/nsDnsService.cpp
---- ../Orig/mozilla/netwerk/dns/src/nsDnsService.cpp Fri Mar 23 23:23:37 2001
-+++ ./netwerk/dns/src/nsDnsService.cpp Sat Mar 24 01:35:04 2001
-@@ -943,6 +943,11 @@
-
- nsAutoMonitor mon(mLookupQMon);
-
-+ // Don't wait on the monitor if we're in the process
-+ // of shutting down the DNS service.
-+ if (mShutdownInProgress)
-+ return NS_OK;
-+
- // Wait for notification of a queued request.
- if (!mLookupQ)
- mon.Wait();
-@@ -967,22 +972,21 @@
- ////////////////////////////////////////////////////////////////////////////////
-
- nsDNSService::nsDNSService()
-- : mState(NS_OK),
-- mMonitor(nsnull),
-- mLookups(64)
-+ : mState(NS_OK)
-+ , mMonitor(nsnull)
-+ , mLookups(64)
- #if defined(XP_UNIX)
- , mLookupQ(nsnull)
-+ , mLookupQMon(nsnull)
-+ , mShutdownInProgress(PR_FALSE)
- #endif
- #ifdef DNS_TIMING
-- ,
-- mCount(0),
-- mTimes(0),
-- mSquaredTimes(0),
-- mOut(nsnull)
--
-+ , mCount(0)
-+ , mTimes(0)
-+ , mSquaredTimes(0)
-+ , mOut(nsnull)
- #endif
-- ,
-- mMyIPAddress(0)
-+ , mMyIPAddress(0)
- {
- NS_INIT_REFCNT();
-
-@@ -1262,9 +1266,7 @@
- if (NS_FAILED(rv)) return rv;
-
- if (lookup) {
-- //
- // Got a request!!
-- //
- lookup->DoSyncLookup();
- NS_RELEASE(lookup);
- } else
-@@ -1544,6 +1546,7 @@
- // Clear the lookup queue and wake up the worker thread.
- //
- nsAutoMonitor mon2(mLookupQMon);
-+ mShutdownInProgress = PR_TRUE;
- if (mLookupQ) {
- mLookupQ->ClearNextLookup();
- NS_RELEASE(mLookupQ);
diff --git a/www/mozilla/patches/patch-at b/www/mozilla/patches/patch-at
deleted file mode 100644
index f782f9b4c0b..00000000000
--- a/www/mozilla/patches/patch-at
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-at,v 1.1 2001/03/30 09:37:50 taya Exp $
-
-diff -ru ../Orig/mozilla/netwerk/dns/src/nsDnsService.h ./netwerk/dns/src/nsDnsService.h
---- ../Orig/mozilla/netwerk/dns/src/nsDnsService.h Fri Feb 23 09:15:35 2001
-+++ ./netwerk/dns/src/nsDnsService.h Sat Mar 24 01:35:05 2001
-@@ -111,6 +111,9 @@
- // Called by the DNS thread to get the next lookup to process.
- // Blocks until a lookup is available.
- nsresult DequeueLookup(nsDNSLookup **);
-+
-+ // Needed if the DNS thread is not already waiting on the lookup monitor.
-+ PRBool mShutdownInProgress;
- #endif
-
- #ifdef DNS_TIMING
diff --git a/www/mozilla/patches/patch-au b/www/mozilla/patches/patch-au
new file mode 100644
index 00000000000..c15080c25b2
--- /dev/null
+++ b/www/mozilla/patches/patch-au
@@ -0,0 +1,20 @@
+$NetBSD: patch-au,v 1.1 2001/05/11 00:37:46 taya Exp $
+
+diff -ru ../Orig/mozilla/security/coreconf/NetBSD.mk ./security/coreconf/NetBSD.mk
+--- ../Orig/mozilla/security/coreconf/NetBSD.mk Sat Sep 30 02:42:36 2000
++++ ./security/coreconf/NetBSD.mk Mon May 7 05:40:36 2001
+@@ -40,8 +40,13 @@
+ CCC = g++
+ RANLIB = ranlib
+
++ifeq ($(OS_TEST),i386)
++CPU_ARCH := x86
+ OS_REL_CFLAGS = -Di386
+-CPU_ARCH = x86
++else
++CPU_ARCH := $(shell uname -p)
++OS_REL_CFLAGS = -D$(CPU_ARCH)
++endif
+
+ ifndef OBJECT_FMT
+ OBJECT_FMT := $(shell if echo __ELF__ | $${CC:-cc} -E - | grep -q __ELF__ ; then echo a.out ; else echo ELF ; fi)
diff --git a/www/mozilla/patches/patch-av b/www/mozilla/patches/patch-av
new file mode 100644
index 00000000000..f90a9f75729
--- /dev/null
+++ b/www/mozilla/patches/patch-av
@@ -0,0 +1,17 @@
+$NetBSD: patch-av,v 1.1 2001/05/11 00:37:46 taya Exp $
+
+diff -ru ../Orig/mozilla/security/coreconf/ruleset.mk ./security/coreconf/ruleset.mk
+--- ../Orig/mozilla/security/coreconf/ruleset.mk Sun Feb 4 14:52:37 2001
++++ ./security/coreconf/ruleset.mk Mon May 7 05:40:42 2001
+@@ -93,9 +93,9 @@
+ endif
+
+ #
+-# Always set CPU_TAG on Linux.
++# Always set CPU_TAG on Linux & NetBSD.
+ #
+-ifeq ($(OS_ARCH), Linux)
++ifeq (,$(filter-out Linux NetBSD,$(OS_ARCH)))
+ CPU_TAG = _$(CPU_ARCH)
+ endif
+