commit:     dbd2882396b4fd98bec8809d7069bed59eb7aa4c
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 28 02:02:07 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Oct 28 02:02:07 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dbd28823

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

We already run eautoreconf, so..

Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-crypt/mhash/mhash-0.9.9.9-r2.ebuild | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/app-crypt/mhash/mhash-0.9.9.9-r2.ebuild 
b/app-crypt/mhash/mhash-0.9.9.9-r2.ebuild
index 348dd9535bec..a2383e956b83 100644
--- a/app-crypt/mhash/mhash-0.9.9.9-r2.ebuild
+++ b/app-crypt/mhash/mhash-0.9.9.9-r2.ebuild
@@ -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)
 }
 

Reply via email to