aboutsummaryrefslogtreecommitdiff
path: root/www/mozilla+ipv6/files/patch-ak
diff options
context:
space:
mode:
Diffstat (limited to 'www/mozilla+ipv6/files/patch-ak')
-rw-r--r--www/mozilla+ipv6/files/patch-ak19
1 files changed, 19 insertions, 0 deletions
diff --git a/www/mozilla+ipv6/files/patch-ak b/www/mozilla+ipv6/files/patch-ak
new file mode 100644
index 000000000000..3b430ef27dc2
--- /dev/null
+++ b/www/mozilla+ipv6/files/patch-ak
@@ -0,0 +1,19 @@
+--- nsprpub/pr/include/md/_freebsd.h.orig Wed Dec 22 15:39:04 1999
++++ nsprpub/pr/include/md/_freebsd.h Thu Feb 3 03:48:20 2000
+@@ -21,6 +21,7 @@
+
+ #include "prthread.h"
+
++#include <sys/param.h>
+ #include <sys/syscall.h>
+
+ #define PR_LINKER_ARCH "freebsd"
+@@ -49,7 +50,7 @@
+ #define _PR_HAVE_SOCKADDR_LEN
+ #define _PR_STAT_HAS_ST_ATIMESPEC
+ #define _PR_NO_LARGE_FILES
+-#if ( __FreeBSD__ > 2 )
++#if ( __FreeBSD_version >= 220000 ) && ( __FreeBSD_version < 400008 )
+ #if !defined(_PR_PTHREADS)
+ /*
+ * libc_r doesn't have poll(). Although libc has poll(), it is not