gentoo-ebuilds/app-crypt/fcrackzip/fcrackzip-1.0.ebuild
Sam James 9b691f1c8d
app-crypt/fcrackzip: fix build w/ Clang 16
Closes: https://bugs.gentoo.org/874951
Signed-off-by: Sam James <sam@gentoo.org>
2022-10-19 03:44:23 +01:00

28 lines
549 B
Bash

# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Zip password cracker"
HOMEPAGE="http://oldhome.schmorp.de/marc/fcrackzip.html"
SRC_URI="http://oldhome.schmorp.de/marc/data/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="app-arch/unzip"
PATCHES=(
"${FILESDIR}"/${PN}-1.0-Fix-Wimplicit-int.patch
)
src_prepare() {
default
sed -i -e '/funroll/d' configure || die
}
src_install() {
default
mv "${ED}"/usr/bin/{zipinfo,fcrack-zipinfo} || die
}