1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/www/mozilla+ipv6/files/patch-ak
Munechika SUMIKAWA 4f912dcce4 IPv6 enabled mozilla-M17.
Submitted by:	ume
Repo copied by:	PW
2000-08-29 10:40:23 +00:00

35 lines
936 B
Plaintext

Index: nsprpub/pr/include/md/_freebsd.h
diff -u nsprpub/pr/include/md/_freebsd.h.orig nsprpub/pr/include/md/_freebsd.h
--- nsprpub/pr/include/md/_freebsd.h.orig Thu Dec 23 08:39:04 1999
+++ nsprpub/pr/include/md/_freebsd.h Fri Apr 28 22:14:54 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
@@ -61,6 +62,12 @@
#endif
#define _PR_HAVE_SYSV_SEMAPHORES
#define PR_HAVE_SYSV_NAMED_SHARED_MEMORY
+
+#ifdef _PR_INET6
+#define _PR_HAVE_GETIPNODEBYNAME
+#define _PR_HAVE_GETIPNODEBYADDR
+#define _PR_INET6_PROBE
+#endif
#define USE_SETJMP