summaryrefslogtreecommitdiff
path: root/net/ntp/files/patch-ntpd_ntpd.c
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2021-10-18 09:43:40 -0700
committerCy Schubert <cy@FreeBSD.org>2021-10-18 10:14:18 -0700
commitf424bcafb8b772537c37d3bbeb0a97c7778cc21c (patch)
treeaec03fd2a59a1a13ce1e431f5bf53f11986df290 /net/ntp/files/patch-ntpd_ntpd.c
parentwww/s: Update 0.5.16 -> 0.6.0 (diff)
net/ntp: Use __FreeBSD_version < 1400038
__FreeBSD_version < 1400038 is more appropriate as it follows the commit to resolve setrlimit(2) segfaults. MFH: 2021Q4
Diffstat (limited to 'net/ntp/files/patch-ntpd_ntpd.c')
-rw-r--r--net/ntp/files/patch-ntpd_ntpd.c2
1 files changed, 1 insertions, 1 deletions
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 <sys/procctl.h>
#ifndef PROC_STACKGAP_CTL
/*