Diff apr-1.7.4 with a apr-1.7.4-r1

/usr/portage/dev-libs/apr/apr-1.7.4-r1.ebuild 2023-10-09 14:52:29.488368350 +0300
3 3

  
4 4
EAPI=8
5 5

  
6
inherit autotools toolchain-funcs
6
inherit autotools flag-o-matic toolchain-funcs
7 7

  
8 8
DESCRIPTION="Apache Portable Runtime Library"
9 9
HOMEPAGE="https://apr.apache.org/"
......
11 11

  
12 12
LICENSE="Apache-2.0"
13 13
SLOT="1/${PV%.*}"
14
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
14
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
15 15
IUSE="doc old-kernel selinux static-libs +urandom valgrind"
16 16

  
17 17
# See bug #815265 for libcrypt dependency
......
101 101
		myconf+=( --with-devrandom=/dev/random )
102 102
	fi
103 103

  
104
	if use ppc || use sparc || use mips; then
105
		# Avoid libapr containing undefined references (underlinked)
106
		# undefined reference to `__sync_val_compare_and_swap_8'
107
		# (May be possible to fix via libatomic linkage in future?)
108
		# bug #740464
104
	# Avoid libapr containing undefined references (underlinked)
105
	# undefined reference to `__sync_val_compare_and_swap_8'
106
	# (May be possible to fix via libatomic linkage in future?)
107
	# bug #740464
108
	append-atomic-flags
109
	if [[ ${LIBS} == *atomic* ]] ; then
109 110
		myconf+=( --disable-nonportable-atomics )
110 111
	fi
111 112

  
Thank you!