From c0d995916785a555972d9675e57e50bec4c1012b Mon Sep 17 00:00:00 2001 From: Steve Arnold Date: Thu, 2 Dec 2021 13:55:37 -0800 Subject: net-misc/ntpsec: keyword ~riscv and update seccomp patch for riscv64 * fixes seccomp on riscv64 (beaglev beta) Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Steve Arnold --- net-misc/ntpsec/files/ntpsec-1.2.0-seccomp.patch | 4 ++-- net-misc/ntpsec/ntpsec-1.2.1-r1.ebuild | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'net-misc') diff --git a/net-misc/ntpsec/files/ntpsec-1.2.0-seccomp.patch b/net-misc/ntpsec/files/ntpsec-1.2.0-seccomp.patch index 6e61a06e12d1..27dd321e2a29 100644 --- a/net-misc/ntpsec/files/ntpsec-1.2.0-seccomp.patch +++ b/net-misc/ntpsec/files/ntpsec-1.2.0-seccomp.patch @@ -9,10 +9,10 @@ https://bugs.gentoo.org/786228 +#if defined(__arm__) + SCMP_SYS(statx), +#endif -+#if defined(__riscv32__) ++#if defined(__riscv32__) || defined(__riscv64__) + SCMP_SYS(faccessat), +#endif -+#if defined(__aarch64__) ++#if defined(__aarch64__) || defined(__riscv64__) + SCMP_SYS(syscall), +#endif }; diff --git a/net-misc/ntpsec/ntpsec-1.2.1-r1.ebuild b/net-misc/ntpsec/ntpsec-1.2.1-r1.ebuild index c206360674b5..7e9d34caf33b 100644 --- a/net-misc/ntpsec/ntpsec-1.2.1-r1.ebuild +++ b/net-misc/ntpsec/ntpsec-1.2.1-r1.ebuild @@ -15,7 +15,7 @@ if [[ ${PV} == *9999* ]]; then else SRC_URI="ftp://ftp.ntpsec.org/pub/releases/${PN}-${PV}.tar.gz" RESTRICT="mirror" - KEYWORDS="amd64 arm arm64 ~x86" + KEYWORDS="amd64 arm arm64 ~riscv ~x86" fi DESCRIPTION="The NTP reference implementation, refactored" -- cgit v1.2.3-65-gdbad