diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2006-04-22 21:47:24 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2006-04-22 21:47:24 +0000 |
commit | 51f5c2b69c245c98eab17c55a3866492f7308564 (patch) | |
tree | 6696ccf940b1440e19e91715d94fee36cf681f71 /devel/nspr | |
parent | Update to 1.5.0.2. (diff) |
Fix the build on very recent -CURRENT. Since the resolv changes didn't
get their own __FreeBSD_version, use the bump associated with
fcloseall().
Tested by: sajd on #freebsd-gnome
Notes
Notes:
svn path=/head/; revision=160155
Diffstat (limited to 'devel/nspr')
-rw-r--r-- | devel/nspr/files/patch-.._pr_include_md__freebsd.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/devel/nspr/files/patch-.._pr_include_md__freebsd.h b/devel/nspr/files/patch-.._pr_include_md__freebsd.h new file mode 100644 index 000000000000..263d829745d0 --- /dev/null +++ b/devel/nspr/files/patch-.._pr_include_md__freebsd.h @@ -0,0 +1,14 @@ +--- ../pr/include/md/_freebsd.h.orig Sat Apr 22 17:14:55 2006 ++++ ../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 |