mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
net/ntp: Use __FreeBSD_version < 1400038
__FreeBSD_version < 1400038 is more appropriate as it follows the commit to resolve setrlimit(2) segfaults. MFH: 2021Q4
This commit is contained in:
parent
bd31ff9102
commit
f424bcafb8
2 changed files with 2 additions and 2 deletions
|
@ -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/ \
|
||||
|
|
|
@ -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
|
||||
/*
|
||||
|
|
Loading…
Add table
Reference in a new issue