summaryrefslogtreecommitdiff
path: root/mail/thunderbird/patches/patch-at
diff options
context:
space:
mode:
Diffstat (limited to 'mail/thunderbird/patches/patch-at')
-rw-r--r--mail/thunderbird/patches/patch-at20
1 files changed, 5 insertions, 15 deletions
diff --git a/mail/thunderbird/patches/patch-at b/mail/thunderbird/patches/patch-at
index 45c5f9778f4..2537e39bdba 100644
--- a/mail/thunderbird/patches/patch-at
+++ b/mail/thunderbird/patches/patch-at
@@ -1,9 +1,8 @@
-$NetBSD: patch-at,v 1.4 2010/07/12 16:49:22 tnn Exp $
+$NetBSD: patch-at,v 1.5 2011/08/19 14:39:09 tnn Exp $
-Treat DragonFly like FreeBSD.
Avoid silly redefinitions of standard types on NetBSD.
---- mozilla/gfx/qcms/qcmstypes.h.orig 2009-08-24 17:52:41.000000000 +0200
+--- mozilla/gfx/qcms/qcmstypes.h.orig 2010-11-04 19:20:39.000000000 +0000
+++ mozilla/gfx/qcms/qcmstypes.h
@@ -10,6 +10,8 @@
#if defined (__SVR4) && defined (__sun)
@@ -11,15 +10,6 @@ Avoid silly redefinitions of standard types on NetBSD.
#include <sys/int_types.h>
+#elif defined(__NetBSD__)
+#include <stdint.h>
- #else
- typedef PRInt8 int8_t;
- typedef PRUint8 uint8_t;
-@@ -23,7 +25,7 @@ typedef PRUint64 uint64_t;
- #ifdef __OS2__
- /* OS/2's stdlib typdefs uintptr_t. So we'll just include that so we don't collide */
- #include <stdlib.h>
--#elif defined(__FreeBSD__)
-+#elif defined(__FreeBSD__) || defined(__DragonFly__)
- /* FreeBSD typedefs uintptr_t in /usr/include/sys/types.h */
- #else
- typedef PRUptrdiff uintptr_t;
+ #elif defined (_AIX)
+ #include <sys/types.h>
+ #elif !defined(ANDROID)