pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/scdp Don't use malloc.h.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/aa6d09856bde
branches:  trunk
changeset: 531942:aa6d09856bde
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Wed Aug 08 21:37:49 2007 +0000

description:
Don't use malloc.h.

diffstat:

 net/scdp/distinfo         |   3 ++-
 net/scdp/patches/patch-aa |  21 +++++++++++++++++++++
 2 files changed, 23 insertions(+), 1 deletions(-)

diffs (36 lines):

diff -r b0a0fe813238 -r aa6d09856bde net/scdp/distinfo
--- a/net/scdp/distinfo Wed Aug 08 21:37:26 2007 +0000
+++ b/net/scdp/distinfo Wed Aug 08 21:37:49 2007 +0000
@@ -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 -r b0a0fe813238 -r aa6d09856bde net/scdp/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/scdp/patches/patch-aa Wed Aug 08 21:37:49 2007 +0000
@@ -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>



Home | Main Index | Thread Index | Old Index