summaryrefslogtreecommitdiff
path: root/net/ntp
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
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')
-rw-r--r--net/ntp/Makefile2
-rw-r--r--net/ntp/files/patch-ntpd_ntpd.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/net/ntp/Makefile b/net/ntp/Makefile
index abce03d92b90..a1c62f232060 100644
--- a/net/ntp/Makefile
+++ b/net/ntp/Makefile
@@ -2,7 +2,7 @@
PORTNAME= ntp
PORTVERSION= 4.2.8p15
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= net
MASTER_SITES= http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ \
http://archive.ntp.org/ntp4/ntp-4.2/ \
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
/*