commit: c0d995916785a555972d9675e57e50bec4c1012b Author: Steve Arnold <nerdboy <AT> gentoo <DOT> org> AuthorDate: Thu Dec 2 21:55:37 2021 +0000 Commit: Steve Arnold <nerdboy <AT> gentoo <DOT> org> CommitDate: Thu Dec 2 21:55:37 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0d99591
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 <nerdboy <AT> gentoo.org> 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(-) 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"