app-crypt/mhash: use configure.ac patch rather than cache var

We already run eautoreconf, so..

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2022-10-28 03:02:07 +01:00
parent 812e4a387f
commit dbd2882396

View File

@@ -25,6 +25,7 @@ PATCHES=(
"${FILESDIR}"/${P}-force64bit-tiger.patch
"${FILESDIR}"/${P}-align.patch
"${FILESDIR}"/${P}-alignment.patch
"${FILESDIR}"/${P}-no-malloc-check.patch
)
DOCS=( doc/example.c doc/skid2-authentication )
@@ -45,9 +46,6 @@ src_prepare() {
}
src_configure() {
# https://sourceforge.net/p/mhash/patches/11/
export ac_cv_func_malloc_0_nonnull=yes
econf $(use_enable static-libs static)
}