diff options
author | Cy Schubert <cy@FreeBSD.org> | 2022-01-18 17:54:34 +0000 |
---|---|---|
committer | Cy Schubert <cy@FreeBSD.org> | 2022-01-19 14:26:15 +0000 |
commit | a6e356e8f50f92acbdec6156c068e768d1835591 (patch) | |
tree | c65080fb9e85bb151bcb47f5d7d2e62158ebe3d5 /net/ntp | |
parent | f63ffd8c2f94fc3aefb3c07fb4c061c44f80a47e (diff) | |
download | ports-a6e356e8f50f92acbdec6156c068e768d1835591.tar.gz ports-a6e356e8f50f92acbdec6156c068e768d1835591.zip |
Diffstat (limited to 'net/ntp')
-rw-r--r-- | net/ntp/Makefile | 2 | ||||
-rw-r--r-- | net/ntp/files/patch-ntpd_ntpd.c | 10 |
2 files changed, 7 insertions, 5 deletions
diff --git a/net/ntp/Makefile b/net/ntp/Makefile index a1c62f232060..de084df97545 100644 --- a/net/ntp/Makefile +++ b/net/ntp/Makefile @@ -2,7 +2,7 @@ PORTNAME= ntp PORTVERSION= 4.2.8p15 -PORTREVISION= 3 +PORTREVISION= 4 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 39c7af05780b..da804c897d4d 100644 --- a/net/ntp/files/patch-ntpd_ntpd.c +++ b/net/ntp/files/patch-ntpd_ntpd.c @@ -1,15 +1,17 @@ --- ntpd/ntpd.c.orig 2020-06-23 02:17:48.000000000 -0700 -+++ ntpd/ntpd.c 2021-10-16 07:59:32.497688000 -0700 -@@ -145,7 +145,7 @@ ++++ ntpd/ntpd.c 2022-01-18 09:48:42.075461000 -0800 +@@ -145,7 +145,9 @@ # include <seccomp.h> #endif /* LIBSECCOMP and KERN_SECCOMP */ -#ifdef __FreeBSD__ -+#if defined(__FreeBSD_version) && __FreeBSD_version < 1400038 ++#if defined(__FreeBSD_version) && \ ++ ((__FreeBSD_version > 1400000 && __FreeBSD_version < 1400038) || \ ++ (__FreeBSD_version > 1300000 && __FreeBSD_version < 1300524)) #include <sys/procctl.h> #ifndef PROC_STACKGAP_CTL /* -@@ -438,7 +438,7 @@ +@@ -438,7 +440,7 @@ char *argv[] ) { |