commit: dd5aedb5562eb6ae4d7725a528cead5f558e0c55 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Tue Jan 14 12:14:39 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Tue Jan 14 12:14:39 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd5aedb5
sys-fs/dd-rescue: drop rdrnd and friends changes from 1.99.17 Undo the CPU_FLAGS_X86 changes from ec703e4ce5de46e4f427836d18988786190e5d2b which are clearly too brittle. Closes: https://bugs.gentoo.org/947105 Signed-off-by: Sam James <sam <AT> gentoo.org> sys-fs/dd-rescue/dd-rescue-1.99.17.ebuild | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/sys-fs/dd-rescue/dd-rescue-1.99.17.ebuild b/sys-fs/dd-rescue/dd-rescue-1.99.17.ebuild index 49fa8eb2ea56..f4d8e24954eb 100644 --- a/sys-fs/dd-rescue/dd-rescue-1.99.17.ebuild +++ b/sys-fs/dd-rescue/dd-rescue-1.99.17.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="|| ( GPL-2 GPL-3 )" SLOT="0" KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" -IUSE="cpu_flags_x86_aes cpu_flags_x86_avx2 lzo lzma cpu_flags_x86_rdrand cpu_flags_x86_sha cpu_flags_x86_sse4_2 static test xattr" +IUSE="cpu_flags_x86_avx2 lzo lzma cpu_flags_x86_sse4_2 static test xattr" RESTRICT="!test? ( test )" RDEPEND=" @@ -81,14 +81,13 @@ _emake() { local os=$(usex kernel_linux Linux IDK) # HAVE_LZO is special as it's checked for emptiness in test_crypt.sh. + # We could try make RDRND and friends controlled via USE but it's too brittle, + # see bug #947105. emake \ MACH="${arch}" \ OS="${os}" \ HAVE_SSE42=$(usex cpu_flags_x86_sse4_2 1 0) \ - HAVE_AES=$(usex cpu_flags_x86_aes 1 0) \ HAVE_AVX2=$(usex cpu_flags_x86_avx2 1 0) \ - HAVE_SHA=$(usex cpu_flags_x86_sha 1 0) \ - HAVE_RDRND=$(usex cpu_flags_x86_rdrand 1 0) \ HAVE_LZMA=$(usex lzma 1 0) \ HAVE_LZO=$(usev lzo 1) \ HAVE_OPENSSL=0 \
