From f424bcafb8b772537c37d3bbeb0a97c7778cc21c Mon Sep 17 00:00:00 2001 From: Cy Schubert Date: Mon, 18 Oct 2021 09:43:40 -0700 Subject: net/ntp: Use __FreeBSD_version < 1400038 __FreeBSD_version < 1400038 is more appropriate as it follows the commit to resolve setrlimit(2) segfaults. MFH: 2021Q4 --- net/ntp/files/patch-ntpd_ntpd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'net/ntp/files/patch-ntpd_ntpd.c') diff --git a/net/ntp/files/patch-ntpd_ntpd.c b/net/ntp/files/patch-ntpd_ntpd.c index 458a799fbc14..39c7af05780b 100644 --- a/net/ntp/files/patch-ntpd_ntpd.c +++ b/net/ntp/files/patch-ntpd_ntpd.c @@ -5,7 +5,7 @@ #endif /* LIBSECCOMP and KERN_SECCOMP */ -#ifdef __FreeBSD__ -+#if defined(__FreeBSD_version) && __FreeBSD_version < 1400037 ++#if defined(__FreeBSD_version) && __FreeBSD_version < 1400038 #include #ifndef PROC_STACKGAP_CTL /* -- cgit v1.2.3