Date: Mon, 18 Oct 2021 17:14:51 GMT From: Cy Schubert <cy@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: f424bcafb8b7 - main - net/ntp: Use __FreeBSD_version < 1400038 Message-ID: <202110181714.19IHEpMd019686@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by cy: URL: https://cgit.FreeBSD.org/ports/commit/?id=f424bcafb8b772537c37d3bbeb0a97c7778cc21c commit f424bcafb8b772537c37d3bbeb0a97c7778cc21c Author: Cy Schubert <cy@FreeBSD.org> AuthorDate: 2021-10-18 16:43:40 +0000 Commit: Cy Schubert <cy@FreeBSD.org> CommitDate: 2021-10-18 17:14:18 +0000 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/Makefile | 2 +- net/ntp/files/patch-ntpd_ntpd.c | 2 +- 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 /*
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202110181714.19IHEpMd019686>