summaryrefslogtreecommitdiff
path: root/mail/thunderbird3/files/patch-oji-threads
diff options
context:
space:
mode:
authorJeremy Messenger <mezz@FreeBSD.org>2005-08-28 08:00:00 +0000
committerJeremy Messenger <mezz@FreeBSD.org>2005-08-28 08:00:00 +0000
commit48c35e710c5685316d03dd9afd6b31e4702f77ae (patch)
tree866a3644ad8f1c9c169c26a70429d24bfa741c37 /mail/thunderbird3/files/patch-oji-threads
parentSet this port for deprecation. The current maintainer notes that (diff)
- Repo copy a lot of changes from www/firefox/Makefile. The best part is that
before it would install in the strange place like this. ${X11BASE}/lib/thunderbird/include/thunderbird-1.0.6 Now it will install in the correct place like firefox: ${X11BASE}/include/thunderbird Also, get *.pc and idl files install. - Didn't copy following from www/firefox/Makefile: * plugins stuff, because it's known cause the stability problem like crash. * EXTRA_SCRIPTS=${PORTNAME}.rb, thunderbird doesn't need it. - Make portlint happier. - Add Java 5 plugins support. [1] - Use system's libm (/usr/src/lib/msun), nss, nspr and etc. Also, do not extract those. Better explain, use external dependencies. [1] - Teach firefox-config and *.pc files for nspr that will making other third apps to buildable like epiphany, vlc-devel's mozilla plugins and etc. Have been tested with full GNOME 2.11.x build too. - Add four patches: [1] patch-bugzilla243151: https://bugzilla.mozilla.org/show_bug.cgi?id=243151 patch-jsosdep: Fix the FreeBSD define patch-oji-threads: 64-bit wide pthread_t patch-xptcinvoke_x86_64_linux: Setting a possibly uninitialized variable (value). - Fix a crash that can occur using gtk+-2.7 and possibly 2.6.10 when closing windows. https://bugzilla.mozilla.org/show_bug.cgi?id=3002 [2] - Get rid of FIREFOX and FF_VER, best to use PORTNAME and PORTVERSION varibles that are arleady exist and lesser complicate. - Change all hardcore of 'thunderbird' to PORTNAME. - Change a manual loop for patch all.js to find(1), so we can sleep on it. Submitted by: mi [1], marcus [2] Reviewed by: my team, FreeBSD GNOME Team.
Notes
Notes: svn path=/head/; revision=141037
Diffstat (limited to 'mail/thunderbird3/files/patch-oji-threads')
-rw-r--r--mail/thunderbird3/files/patch-oji-threads60
1 files changed, 60 insertions, 0 deletions
diff --git a/mail/thunderbird3/files/patch-oji-threads b/mail/thunderbird3/files/patch-oji-threads
new file mode 100644
index 000000000000..5d4031c8e6e6
--- /dev/null
+++ b/mail/thunderbird3/files/patch-oji-threads
@@ -0,0 +1,60 @@
+--- modules/oji/public/nsIThreadManager.h Fri Sep 28 16:08:27 2001
++++ modules/oji/public/nsIThreadManager.h Sat Aug 6 03:27:26 2005
+@@ -113,5 +113,5 @@
+ */
+ NS_IMETHOD
+- CreateThread(PRUint32* threadID, nsIRunnable* runnable) = 0;
++ CreateThread(uintptr_t* threadID, nsIRunnable* runnable) = 0;
+
+ /**
+@@ -122,5 +122,5 @@
+ */
+ NS_IMETHOD
+- PostEvent(PRUint32 threadID, nsIRunnable* runnable, PRBool async) = 0;
++ PostEvent(uintptr_t threadID, nsIRunnable* runnable, PRBool async) = 0;
+ };
+
+--- modules/oji/src/nsJVMManager.cpp Mon Feb 9 17:48:48 2004
++++ modules/oji/src/nsJVMManager.cpp Sat Aug 6 03:29:19 2005
+@@ -268,9 +268,9 @@
+
+ NS_METHOD
+-nsJVMManager::CreateThread(PRUint32* outThreadID, nsIRunnable* runnable)
++nsJVMManager::CreateThread(uintptr_t* outThreadID, nsIRunnable* runnable)
+ {
+ PRThread* thread = PR_CreateThread(PR_USER_THREAD, &thread_starter, (void*) runnable,
+ PR_PRIORITY_NORMAL, PR_GLOBAL_THREAD, PR_JOINABLE_THREAD, 0);
+- *outThreadID = NS_PTR_TO_INT32(thread);
++ *outThreadID = (uintptr_t)(thread);
+ return (thread != NULL ? NS_OK : NS_ERROR_FAILURE);
+ }
+@@ -308,5 +308,5 @@
+
+ NS_METHOD
+-nsJVMManager::PostEvent(PRUint32 threadID, nsIRunnable* runnable, PRBool async)
++nsJVMManager::PostEvent(uintptr_t threadID, nsIRunnable* runnable, PRBool async)
+ {
+ nsresult rv;
+@@ -873,5 +873,5 @@
+
+ do {
+- static PRBool registeredLiveConnectFactory = NS_SUCCEEDED(JSJ_RegisterLiveConnectFactory());
++ JSJ_RegisterLiveConnectFactory();
+ if (IsLiveConnectEnabled() && StartupJVM() == nsJVMStatus_Running) {
+ JVM_InitLCGlue();
+--- modules/oji/src/nsJVMManager.h Sat Nov 29 13:56:08 2003
++++ modules/oji/src/nsJVMManager.h Sat Aug 6 03:30:01 2005
+@@ -122,5 +122,5 @@
+ */
+ NS_IMETHOD
+- CreateThread(PRUint32* threadID, nsIRunnable* runnable);
++ CreateThread(uintptr_t* threadID, nsIRunnable* runnable);
+
+ /**
+@@ -131,5 +131,5 @@
+ */
+ NS_IMETHOD
+- PostEvent(PRUint32 threadID, nsIRunnable* runnable, PRBool async);
++ PostEvent(uintptr_t threadID, nsIRunnable* runnable, PRBool async);
+
+ /* from nsILiveConnectManager: */