1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

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
This commit is contained in:
Joe Marcus Clarke 2006-04-22 21:47:24 +00:00
parent d540795920
commit 51f5c2b69c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=160155

View File

@ -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