summaryrefslogtreecommitdiffstats
path: root/mail/thunderbird/files/patch-nsprpub-pr-src-pthreads-ptio.c
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2005-03-05 09:54:30 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2005-03-05 09:54:30 +0800
commit402280641e12cd2518eb34831246ccd67387dca6 (patch)
tree25a924bc751ae461bbff3b4caff766bff1e30e83 /mail/thunderbird/files/patch-nsprpub-pr-src-pthreads-ptio.c
parent8873c153d07a5669df16174aa06e9d969dfd5722 (diff)
downloadmarcuscom-ports-402280641e12cd2518eb34831246ccd67387dca6.tar.gz
marcuscom-ports-402280641e12cd2518eb34831246ccd67387dca6.tar.zst
marcuscom-ports-402280641e12cd2518eb34831246ccd67387dca6.zip
Thunderbird needs the same freetype2 lovin' that firefox got.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@3807 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'mail/thunderbird/files/patch-nsprpub-pr-src-pthreads-ptio.c')
-rw-r--r--mail/thunderbird/files/patch-nsprpub-pr-src-pthreads-ptio.c29
1 files changed, 29 insertions, 0 deletions
diff --git a/mail/thunderbird/files/patch-nsprpub-pr-src-pthreads-ptio.c b/mail/thunderbird/files/patch-nsprpub-pr-src-pthreads-ptio.c
new file mode 100644
index 000000000..08346f235
--- /dev/null
+++ b/mail/thunderbird/files/patch-nsprpub-pr-src-pthreads-ptio.c
@@ -0,0 +1,29 @@
+--- nsprpub/pr/src/pthreads/ptio.c.orig Mon Jul 14 17:59:47 2003
++++ nsprpub/pr/src/pthreads/ptio.c Fri Aug 29 15:39:46 2003
+@@ -189,7 +189,7 @@
+ #endif
+ #endif
+
+-#ifdef DARWIN
++#if defined(DARWIN) || defined(FREEBSD)
+ static PRBool _pr_ipv6_v6only_on_by_default;
+ /* The IPV6_V6ONLY socket option is not defined on Mac OS X 10.1. */
+ #ifndef IPV6_V6ONLY
+@@ -1154,7 +1154,7 @@
+ _pr_stderr = pt_SetMethods(2, PR_DESC_FILE, PR_FALSE, PR_TRUE);
+ PR_ASSERT(_pr_stdin && _pr_stdout && _pr_stderr);
+
+-#ifdef DARWIN
++#if defined(DARWIN) || defined(FREEBSD)
+ /* In Mac OS X v10.3 Panther Beta the IPV6_V6ONLY socket option
+ * is turned on by default, contrary to what RFC 3493, Section
+ * 5.3 says. So we have to turn it off. Find out whether we
+@@ -3462,7 +3462,7 @@
+ if (osfd == -1) pt_MapError(_PR_MD_MAP_SOCKET_ERROR, errno);
+ else
+ {
+-#ifdef DARWIN
++#if defined(DARWIN) || defined(FREEBSD)
+ if ((domain == AF_INET6) && _pr_ipv6_v6only_on_by_default)
+ {
+ int on = 0;