diff options
author | Sam James <sam@gentoo.org> | 2022-10-28 03:32:43 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-10-28 03:33:15 +0100 |
commit | b9dc976f43055c1d073c98e5fef77a4d1f94674e (patch) | |
tree | a5baa99b0443e6f57cdda79c10a6d6e0dfe159b6 /app-crypt/mhash/files | |
parent | app-text/recode: don't pass -fanalyzer (diff) | |
download | gentoo-b9dc976f43055c1d073c98e5fef77a4d1f94674e.tar.gz gentoo-b9dc976f43055c1d073c98e5fef77a4d1f94674e.tar.bz2 gentoo-b9dc976f43055c1d073c98e5fef77a4d1f94674e.zip |
app-crypt/mhash: actually commit patch
Fixes: dbd2882396b4fd98bec8809d7069bed59eb7aa4c
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-crypt/mhash/files')
-rw-r--r-- | app-crypt/mhash/files/mhash-0.9.9.9-no-malloc-check.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/app-crypt/mhash/files/mhash-0.9.9.9-no-malloc-check.patch b/app-crypt/mhash/files/mhash-0.9.9.9-no-malloc-check.patch new file mode 100644 index 000000000000..6da1f98ac785 --- /dev/null +++ b/app-crypt/mhash/files/mhash-0.9.9.9-no-malloc-check.patch @@ -0,0 +1,20 @@ +https://sourceforge.net/p/mhash/patches/11/ + +Compiling mhash-0.9.9.9 on platforms (like AIX) without GNU libc compatible malloc leads to undefined symbol rpl_malloc +when linking the in-mhash executables drver, frag_test, rest_test, hmac_test, keygen_test. + +Reason is that configure.in still contains AC_FUNC_MALLOC, detecting need +to "#define malloc rpl_malloc", while mhash does not provide a rpl_malloc implementation. + +As the only use of malloc() in lib/stdfns.c does not rely on GNU libc +compatible malloc actually, there is no need to check for one. +--- a/configure.in ++++ b/configure.in +@@ -64,7 +64,6 @@ AC_CHECK_HEADERS(signal.h stdint.h stdio.h stdlib.h string.h strings.h) + + dnl Checks for functions + +-AC_FUNC_MALLOC + AC_FUNC_MEMCMP + + AC_CHECK_FUNCS(bcopy bzero) |