diff options
author | joerg <joerg@pkgsrc.org> | 2007-08-08 21:37:49 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2007-08-08 21:37:49 +0000 |
commit | 3878a8af20e894fe3aff700991ad75b3fb64e2bd (patch) | |
tree | b335897bab48e9e46ab84f74c795755ace737717 /net/scdp | |
parent | 298c002e6ccde0593c3841c0f4c93f0d7f42e79a (diff) | |
download | pkgsrc-3878a8af20e894fe3aff700991ad75b3fb64e2bd.tar.gz |
Don't use malloc.h.
Diffstat (limited to 'net/scdp')
-rw-r--r-- | net/scdp/distinfo | 3 | ||||
-rw-r--r-- | net/scdp/patches/patch-aa | 21 |
2 files changed, 23 insertions, 1 deletions
diff --git a/net/scdp/distinfo b/net/scdp/distinfo index f23ee93cede..a999aab956e 100644 --- a/net/scdp/distinfo +++ b/net/scdp/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.2 2005/02/24 12:14:03 agc Exp $ +$NetBSD: distinfo,v 1.3 2007/08/08 21:37:49 joerg Exp $ SHA1 (scdp-1.0b.tar.gz) = 60b84554793db44cf7f9cb392ddeced43af78e7f RMD160 (scdp-1.0b.tar.gz) = 3a9c80ff442c2c23546d41a9767ab4b24cf8a880 Size (scdp-1.0b.tar.gz) = 38669 bytes +SHA1 (patch-aa) = d1ccb5e8a5d68f584ca4dd58fd89fc36ccf144da diff --git a/net/scdp/patches/patch-aa b/net/scdp/patches/patch-aa new file mode 100644 index 00000000000..d9e841c31b6 --- /dev/null +++ b/net/scdp/patches/patch-aa @@ -0,0 +1,21 @@ +$NetBSD: patch-aa,v 1.1 2007/08/08 21:37:49 joerg Exp $ + +--- scdp.c.orig 2007-08-08 21:13:00.000000000 +0000 ++++ scdp.c +@@ -21,14 +21,11 @@ + #include <stdio.h> + #include <conf.h> + #include <libnet.h> +-#include <malloc.h> + #include <sys/types.h> + #include <sys/wait.h> + +-#ifdef STDC_HEADERS +-# include <stdlib.h> +-# include <string.h> +-#endif ++#include <stdlib.h> ++#include <string.h> + + #ifdef HAVE_UNISTD_H + # include <unistd.h> |