From: Florian Fainelli Date: Tue, 26 May 2009 14:11:18 +0000 (+0000) Subject: [package] use stdlib malloc definition instead, fixes linking failures with different... X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=addb0fde9f2505357a96270bd0ece02093b9e5a4;p=openwrt%2Fsvn-archive%2Farchive.git [package] use stdlib malloc definition instead, fixes linking failures with different libc (#5195) SVN-Revision: 16078 --- diff --git a/libs/tcp_wrappers/patches/003-scaffold_malloc.patch b/libs/tcp_wrappers/patches/003-scaffold_malloc.patch new file mode 100644 index 0000000000..a0f7d90a6d --- /dev/null +++ b/libs/tcp_wrappers/patches/003-scaffold_malloc.patch @@ -0,0 +1,17 @@ +--- tcp_wrappers_7.6/scaffold.c.old 2009-05-25 13:41:07.000000000 +0200 ++++ tcp_wrappers_7.6/scaffold.c 2009-05-25 13:42:22.000000000 +0200 +@@ -20,13 +20,12 @@ + #include + #include + #include ++#include + + #ifndef INADDR_NONE + #define INADDR_NONE (-1) /* XXX should be 0xffffffff */ + #endif + +-extern char *malloc(); +- + /* Application-specific. */ + + #include "tcpd.h"