summaryrefslogtreecommitdiff
path: root/app-crypt/mhash
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-10-28 09:59:10 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-10-28 09:59:10 +0100
commit8eb973cc2247ee4fe34e4d907fdc6cf5b94709e3 (patch)
tree0834df6dbfa798c2c138698cc26cf6a731fe937e /app-crypt/mhash
parente5985b8e66b3b43c34328efb47b9b12e8ce5a690 (diff)
gentoo auto-resync : 28:10:2022 - 09:59:10
Diffstat (limited to 'app-crypt/mhash')
-rw-r--r--app-crypt/mhash/Manifest1
-rw-r--r--app-crypt/mhash/files/mhash-0.9.9.9-no-malloc-check.patch20
2 files changed, 21 insertions, 0 deletions
diff --git a/app-crypt/mhash/Manifest b/app-crypt/mhash/Manifest
index cfc43125ddd7..5b608bf50c7e 100644
--- a/app-crypt/mhash/Manifest
+++ b/app-crypt/mhash/Manifest
@@ -5,6 +5,7 @@ AUX mhash-0.9.9-fix-whirlpool-segfault.patch 915 BLAKE2B 6ba9474d77a237df205943d
AUX mhash-0.9.9.9-align.patch 2870 BLAKE2B ebb476db00de0ea7a816b0748c17be261a3a30decb4c9647acbf4cc223fea5c7adf1460742de9861d052a264498cd2680dd306f4ba0e1f64f14bafe39856954a SHA512 95f29f71da608943bdb0f3510fb9ceb7ab78221a446449024abb0dda95ac9f6629696f8f6ebfe076b235cb9f2d52571ae2e64beefbf4d196fcd94b6ced07d416
AUX mhash-0.9.9.9-alignment.patch 412 BLAKE2B a08862c748f2b8591696481984e6cbcc3f3c310ba1cf0dda4a0e91571803b9a8be0567691f946300a61521c2b4a5236b303f929089a844283300d292f04fcea9 SHA512 4d42a8ca8e2ce21fe92ce2f85936e431e277e9e7b5430d9d2a254fe9bacd4ae95139f60b0a5af4a4d962965ca550e74fc45a4d357d3867f54bc523f9f74f9b1f
AUX mhash-0.9.9.9-force64bit-tiger.patch 372 BLAKE2B cdce999eba8fea0ebb47b29297b71d014377db53c1cdf88c15f2075e6279e8e42031f94ce9f1987ed5c6b8cf4067f485b5ea298145961f06e4cb09ef8ec9a961 SHA512 cf31ca18afce576dcaa5b7a2a20567dc73ef750a193dfa35265508974bc17c54e967a02fb575047edcc190178a7533971d7f4980cd605714e9c0cefb4aa33186
+AUX mhash-0.9.9.9-no-malloc-check.patch 776 BLAKE2B 956fc4dae9fd3ee0416b086c781882be8e97042db99e002d0e9e759db560bcc24228363499664034ee92ffc566b734add957c1614ce835be7627946ab06cdfc2 SHA512 7c891822e2a5dd52610219dbb7e6a2a5eb9064842b73365cf2b10ef1b6bf951108220b9840a1fe61a5b001261288f8ec9dd7b0c7926b1d8cbce724bb14b0397a
AUX mhash-0.9.9.9-remove_premature_free.patch 285 BLAKE2B 7245b1241bbb0001ac588554a3069b6665eeb424c2420dbb6948c68278036e0dec7c16f6a0bec059b54cadd617362e8086b918673d3063aa42598fba952aab26 SHA512 66dcdbfcbd298cde83ab026ff075a09b91662a17f48f9e6c41284513e7ccb398d34f3bef3b72c684a52b9bab43f0fe3d6a751403dc412e66814e5d6ae3160b31
DIST mhash-0.9.9.9.tar.gz 931437 BLAKE2B 2daed92b731148c388d4340e67d99959f71783e68617614c9be797dae655ba1aeb087d4f604015edb752dedc2d69add305510996a06633ef26fd997ab7601bed SHA512 82ad8b8e9b0463c5a14f5c0e572badc42c4697bac5505443b144287b3f8510b1410721b4277f092a0d6045c4342e997831011cdfcbfa8f1dae6edd5d9e3cefee
EBUILD mhash-0.9.9.9-r2.ebuild 1487 BLAKE2B 8284526248ab69de513812f23769f77f0dd87c6cf1422c38663242795f6644b478bc24b061df31041f3e5894b1c027042c0247a2d82dd4d28c2966a1de7a045b SHA512 379ce08a958a72af2731062f79064febff8629722b5802a26bee5cc569672c7851d8c8f1e911ae8e579e2585d8e94379cf894c6644d04e33b41e393a1395d022
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)