app-crypt/hashcat: Fix OpenCL CRC32 header in 7.1.2

Upstream fixed this is master but commit 96caad2 did not ship with with
7.1.2

Signed-off-by: Nic Boet <nic@boet.cc>
Part-of: https://github.com/gentoo/gentoo/pull/45197
Closes: https://github.com/gentoo/gentoo/pull/45197
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Nic Boet
2025-12-31 13:14:32 -06:00
committed by Sam James
parent f284f1d8b8
commit d708c1b753

View File

@@ -99,6 +99,9 @@ src_prepare() {
einfo "Forcing Cargo errors to be fatal..."
sed -i 's/|| true//g' src/bridges/*.mk || die
# upstream missed commit 96caad2 this before shipping 7.1.2 -- resolved in master
sed -i 's|inc_checksum_crc\.cl|inc_checksum_crc32.cl|' OpenCL/m17220_a3-pure.cl || die
# Remove bundled stuff
rm -r deps/OpenCL-Headers || die "Failed to remove bundled OpenCL Headers"
rm -r deps/xxHash || die "Failed to remove bundled xxHash"