pkgsrc/mail/thunderbird10/patches/patch-ag
ryoon 5231a1ae47 Import thunderbird10-10.0.3 as mail/thunderbird10
* This is ESR (Extended Support Release) version.
* Fix security bugs
2012-03-15 09:45:26 +00:00

31 lines
971 B
Text

$NetBSD: patch-ag,v 1.1.1.1 2012/03/15 09:45:29 ryoon Exp $
--- mozilla/nsprpub/pr/include/md/_freebsd.h.orig 2012-02-16 10:25:22.000000000 +0000
+++ mozilla/nsprpub/pr/include/md/_freebsd.h
@@ -79,7 +79,7 @@
#define _PR_HAVE_LARGE_OFF_T
#if defined(_PR_PTHREADS)
-#if __FreeBSD_version >= 400008
+#if defined(__DragonFly__) || __FreeBSD_version >= 400008
/*
* libc_r before this version of FreeBSD doesn't have poll().
* Although libc has poll(), it is not thread-safe so we can't
@@ -88,7 +88,7 @@
#define _PR_POLL_AVAILABLE
#endif
#else
-#if __FreeBSD_version >= 300000
+#if defined(__DragonFly__) || __FreeBSD_version >= 300000
#define _PR_POLL_AVAILABLE
#define _PR_USE_POLL
#endif
@@ -97,7 +97,7 @@
#define _PR_HAVE_SYSV_SEMAPHORES
#define PR_HAVE_SYSV_NAMED_SHARED_MEMORY
-#if __FreeBSD_version >= 400014
+#if defined(__DragonFly__) || __FreeBSD_version >= 400014
#define _PR_INET6
#define _PR_HAVE_INET_NTOP
#define _PR_HAVE_GETHOSTBYNAME2