summaryrefslogtreecommitdiff
path: root/mail/thunderbird-devel/files/patch-nspr-unix.c
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2005-11-05 06:51:25 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2005-11-05 06:51:25 +0000
commit2750aca9b987b9c67f3aff27b25fc8183e9ee2f3 (patch)
treed9962d0d12240eb894380083a2b5dea737e829eb /mail/thunderbird-devel/files/patch-nspr-unix.c
parentDon't build apm module on amd64/ia64, bump version. (diff)
Add thunderbird-devel after a repocopy from ports/mail/thunderbird.
Thunderbird-devel represents work in progress towards Thunderbird 1.5. See http://www.mozilla.org/products/thunderbird/releases/1.5.html for more details. Most of this work was done by ahze and mnag.
Diffstat (limited to 'mail/thunderbird-devel/files/patch-nspr-unix.c')
-rw-r--r--mail/thunderbird-devel/files/patch-nspr-unix.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/mail/thunderbird-devel/files/patch-nspr-unix.c b/mail/thunderbird-devel/files/patch-nspr-unix.c
new file mode 100644
index 000000000000..6bb4ed08fb40
--- /dev/null
+++ b/mail/thunderbird-devel/files/patch-nspr-unix.c
@@ -0,0 +1,21 @@
+--- nsprpub/pr/src/md/unix/unix.c.orig Sat May 31 18:06:04 2003
++++ nsprpub/pr/src/md/unix/unix.c Sat May 31 18:04:43 2003
+@@ -65,7 +65,8 @@
+ * PRInt32* pointer to a _PRSockLen_t* pointer.
+ */
+ #if defined(HAVE_SOCKLEN_T) \
+- || (defined(LINUX) && defined(__GLIBC__) && __GLIBC__ >= 2)
++ || (defined(LINUX) && defined(__GLIBC__) && __GLIBC__ >= 2) \
++ || defined(FREEBSD)
+ #define _PRSockLen_t socklen_t
+ #elif defined(IRIX) || defined(HPUX) || defined(OSF1) || defined(SOLARIS) \
+ || defined(AIX4_1) || defined(LINUX) || defined(SONY) \
+@@ -73,7 +74,7 @@
+ || defined(SUNOS4) || defined(NCR) || defined(DARWIN) \
+ || defined(NEXTSTEP) || defined(QNX)
+ #define _PRSockLen_t int
+-#elif (defined(AIX) && !defined(AIX4_1)) || defined(FREEBSD) \
++#elif (defined(AIX) && !defined(AIX4_1)) \
+ || defined(NETBSD) || defined(OPENBSD) || defined(UNIXWARE) \
+ || defined(DGUX) || defined(VMS) || defined(NTO)
+ #define _PRSockLen_t size_t