800ce59e41
and change notes). Firefox 1.5.0.x will be maintained in www/firefox15*, as discussed on tech-pkg.
32 lines
1.1 KiB
Text
32 lines
1.1 KiB
Text
$NetBSD: patch-df,v 1.3 2007/05/12 13:53:10 ghen Exp $
|
|
|
|
diff -ruN ../Orig/mozilla/nsprpub/pr/include/md/_freebsd.h ./nsprpub/pr/include/md/_freebsd.h
|
|
--- ../Orig/mozilla/nsprpub/pr/include/md/_freebsd.h 2004-11-24 06:22:35.000000000 +0900
|
|
+++ ./nsprpub/pr/include/md/_freebsd.h 2005-12-04 19:44:37.000000000 +0900
|
|
@@ -79,7 +79,7 @@
|
|
#define _PR_NO_LARGE_FILES
|
|
|
|
#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
|