aboutsummaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorHajimu UMEMOTO <ume@FreeBSD.org>2006-06-10 09:16:52 +0000
committerHajimu UMEMOTO <ume@FreeBSD.org>2006-06-10 09:16:52 +0000
commit38dfd3a263767c846604a6b733f5b9f09ede3a8f (patch)
treee338734e868e990f5bba44f30d8ff25a2af3cc44 /www
parent97a1656d437a015c3303cc470d0b326f61081ec8 (diff)
Fix build on 7.X after getprotoby*_r(3) addition.
Approved by: ahze Obtained from: devel/nspr Committed at: 18th CBUG Meeting
Notes
Notes: svn path=/head/; revision=164974
Diffstat (limited to 'www')
-rw-r--r--www/mozilla-devel/files/patch-nsprpub::pr::include::md::_freebsd.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/www/mozilla-devel/files/patch-nsprpub::pr::include::md::_freebsd.h b/www/mozilla-devel/files/patch-nsprpub::pr::include::md::_freebsd.h
new file mode 100644
index 000000000000..2f4ca7ca6534
--- /dev/null
+++ b/www/mozilla-devel/files/patch-nsprpub::pr::include::md::_freebsd.h
@@ -0,0 +1,14 @@
+--- nsprpub/pr/include/md/_freebsd.h.orig Sat Apr 22 17:14:55 2006
++++ nsprpub/pr/include/md/_freebsd.h Sat Apr 22 17:14:47 2006
+@@ -106,6 +106,11 @@
+ #define _PR_IPV6_V6ONLY_PROBE
+ #endif
+
++#if __FreeBSD_version >= 700016
++#define _PR_HAVE_GETPROTO_R
++#define _PR_HAVE_5_ARG_GETPROTO_R
++#endif
++
+ #define USE_SETJMP
+
+ #ifndef _PR_PTHREADS