Diff libfaketime-0.9.6-r4 with a libfaketime-0.9.9

/usr/portage/sys-libs/libfaketime/libfaketime-0.9.9.ebuild 2023-10-09 14:52:35.552368503 +0300
1
# Copyright 1999-2021 Gentoo Authors
1
# Copyright 1999-2022 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI="7"
......
11 11

  
12 12
LICENSE="GPL-2"
13 13
SLOT="0"
14
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~ppc ~ppc64 -riscv sparc x86"
15

  
16
PATCHES=( "${FILESDIR}"/${PN}-0.9.8-Treat-unknown-clock_ids-like-CLOCK_REALTIME.patch )
14
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
17 15

  
18 16
src_prepare() {
19 17
	default
......
25 23
	# Bug #617624 (GCC-6 compatibility)
26 24
	sed -i 's/-Wno-nonnull-compare //' "${S}/src/Makefile" || die
27 25

  
26
	# upstream doesn't want that we set this by default but
27
	# I didn't find a single system where libfaketime passed
28
	# CLOCK_MONOTONIC test without that
29
	append-cflags -DFORCE_MONOTONIC_FIX
30

  
31
	# bug #844958
32
	use riscv && append-cflags -DFORCE_PTHREAD_NONVER
33

  
28 34
	multilib_copy_sources
29 35
}
30 36

  
......
39 45
}
40 46

  
41 47
multilib_src_test() {
48
	if has usersandbox ${FEATURES} ; then
49
		# Tests are using LD_PRELOAD which clashes with FEATURES=usersandbox
50
		ewarn "Tests are known to fail with usersandbox enabled."
51
	fi
52

  
42 53
	multilib_is_native_abi && emake CC="$(tc-getCC)" test
43 54
}
44 55

  
Thank you!