diff options
author | Steve Arnold <nerdboy@gentoo.org> | 2021-12-02 13:55:37 -0800 |
---|---|---|
committer | Steve Arnold <nerdboy@gentoo.org> | 2021-12-02 13:55:37 -0800 |
commit | c0d995916785a555972d9675e57e50bec4c1012b (patch) | |
tree | 82fdd2b6dbf2f36ea82a56c68903c2b502941972 /net-misc | |
parent | www-client/microsoft-edge-dev: remove old (diff) | |
download | gentoo-c0d995916785a555972d9675e57e50bec4c1012b.tar.gz gentoo-c0d995916785a555972d9675e57e50bec4c1012b.tar.bz2 gentoo-c0d995916785a555972d9675e57e50bec4c1012b.zip |
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@gentoo.org>
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/ntpsec/files/ntpsec-1.2.0-seccomp.patch | 4 | ||||
-rw-r--r-- | 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" |