commit:     7179fbdc4ea7c6fafcfbfbbc6f624d1bbb1ed4a6
Author:     Alex Fan <alex.fan.q <AT> gmail <DOT> com>
AuthorDate: Thu May 19 08:38:45 2022 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Thu May 19 09:23:47 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7179fbdc

sys-libs/libfaketime: fix test hang on riscv

Closes: https://bugs.gentoo.org/844958
Signed-off-by: Alex Fan <alex.fan.q <AT> gmail.com>
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>

 sys-libs/libfaketime/libfaketime-0.9.9.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/sys-libs/libfaketime/libfaketime-0.9.9.ebuild 
b/sys-libs/libfaketime/libfaketime-0.9.9.ebuild
index 332eb881b2bd..fb0676fa5e48 100644
--- a/sys-libs/libfaketime/libfaketime-0.9.9.ebuild
+++ b/sys-libs/libfaketime/libfaketime-0.9.9.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
@@ -28,6 +28,9 @@ src_prepare() {
        # CLOCK_MONOTONIC test without that
        append-cflags -DFORCE_MONOTONIC_FIX
 
+       # bug #844958
+       use riscv && append-cflags -DFORCE_PTHREAD_NONVER
+
        multilib_copy_sources
 }
 

Reply via email to