From 383019eeb5142d6a95d36e856dc5ef3106dd3fd9 Mon Sep 17 00:00:00 2001 From: peter Date: Thu, 17 Feb 2005 23:10:45 +0000 Subject: Get rid of the invalid extern for malloc and include stdlib.h for the prototype. Suggested by Thomas Klausner. Should fix PR pkg/29362 from A L Meyers. --- security/tcp_wrappers/distinfo | 3 ++- security/tcp_wrappers/patches/patch-af | 19 +++++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 security/tcp_wrappers/patches/patch-af (limited to 'security') diff --git a/security/tcp_wrappers/distinfo b/security/tcp_wrappers/distinfo index 2b4b191c2cf..632f44fedac 100644 --- a/security/tcp_wrappers/distinfo +++ b/security/tcp_wrappers/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.9 2004/12/07 15:15:25 wiz Exp $ +$NetBSD: distinfo,v 1.10 2005/02/17 23:10:45 peter Exp $ SHA1 (tcp_wrappers_7.6-ipv6.1.tar.gz) = d0b70d4f0c0ac0375d8283a18ec2b6d602f82fde Size (tcp_wrappers_7.6-ipv6.1.tar.gz) = 144708 bytes @@ -7,3 +7,4 @@ SHA1 (patch-ab) = 51b094f55afcea6ef1063af1b27be0b22b07eaa6 SHA1 (patch-ac) = a9cd493a470782e8f6bdd38fde6c746fb1e371c0 SHA1 (patch-ad) = 2f2fa789599e2fca652e240f05bec8460287e79e SHA1 (patch-ae) = feddad07e9661c220a5be279fcf2cec87eb1b6b2 +SHA1 (patch-af) = a38defc7dad97672b88ed3278a15fbeb1eb3dcf6 diff --git a/security/tcp_wrappers/patches/patch-af b/security/tcp_wrappers/patches/patch-af new file mode 100644 index 00000000000..4413c3f44b2 --- /dev/null +++ b/security/tcp_wrappers/patches/patch-af @@ -0,0 +1,19 @@ +$NetBSD: patch-af,v 1.1 2005/02/17 23:10:45 peter Exp $ + +--- scaffold.c.orig 1999-10-27 15:27:22.000000000 +0200 ++++ scaffold.c 2005-02-17 23:56:49.000000000 +0100 +@@ -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" -- cgit v1.2.3