pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/tcp_wrappers Get rid of the invalid extern fo...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/25c184cf84c8
branches:  trunk
changeset: 489159:25c184cf84c8
user:      peter <peter%pkgsrc.org@localhost>
date:      Thu Feb 17 23:10:45 2005 +0000

description:
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.

diffstat:

 security/tcp_wrappers/distinfo         |   3 ++-
 security/tcp_wrappers/patches/patch-af |  19 +++++++++++++++++++
 2 files changed, 21 insertions(+), 1 deletions(-)

diffs (37 lines):

diff -r bbaf2d45a7c0 -r 25c184cf84c8 security/tcp_wrappers/distinfo
--- a/security/tcp_wrappers/distinfo    Thu Feb 17 22:50:06 2005 +0000
+++ b/security/tcp_wrappers/distinfo    Thu Feb 17 23:10:45 2005 +0000
@@ -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-ac) = a9cd493a470782e8f6bdd38fde6c746fb1e371c0
 SHA1 (patch-ad) = 2f2fa789599e2fca652e240f05bec8460287e79e
 SHA1 (patch-ae) = feddad07e9661c220a5be279fcf2cec87eb1b6b2
+SHA1 (patch-af) = a38defc7dad97672b88ed3278a15fbeb1eb3dcf6
diff -r bbaf2d45a7c0 -r 25c184cf84c8 security/tcp_wrappers/patches/patch-af
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/tcp_wrappers/patches/patch-af    Thu Feb 17 23:10:45 2005 +0000
@@ -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 <syslog.h>
+ #include <setjmp.h>
+ #include <string.h>
++#include <stdlib.h>
+ 
+ #ifndef INADDR_NONE
+ #define       INADDR_NONE     (-1)            /* XXX should be 0xffffffff */
+ #endif
+ 
+-extern char *malloc();
+-
+ /* Application-specific. */
+ 
+ #include "tcpd.h"



Home | Main Index | Thread Index | Old Index