Closes: https://bugs.gentoo.org/692416
Package-Manager: Portage-2.3.73, Repoman-2.3.17
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
--- /dev/null
+We use malloc() from stdlib.h.
+
+--- a/scaffold.c
++++ b/scaffold.c
+@@ -26,10 +26,6 @@ static char sccs_id[] = "@(#) scaffold.c 1.6 97/03/21 19:27:24";
+ #define INADDR_NONE (-1) /* XXX should be 0xffffffff */
+ #endif
+
+-#ifndef INET6
+-extern char *malloc();
+-#endif
+-
+ /* Application-specific. */
+
+ #include "tcpd.h"
src_prepare() {
eapply $(sed -e 's:^:../debian/patches/:' ../debian/patches/series)
eapply "${FILESDIR}"/${PN}-7.6-redhat-bug11881.patch
+ eapply "${FILESDIR}"/${PN}-7.6.28-no-external-malloc.patch
eapply_user