pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mail/deliver Remove conflicting declaration of malloc(...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1d80b2feb4bd
branches:  trunk
changeset: 514974:1d80b2feb4bd
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Wed Jun 21 15:18:42 2006 +0000

description:
Remove conflicting declaration of malloc(), realloc(), and free(); include
stdlib.h instead.

diffstat:

 mail/deliver/distinfo         |   4 ++--
 mail/deliver/patches/patch-ah |  27 +++++++++++++++++++++++----
 2 files changed, 25 insertions(+), 6 deletions(-)

diffs (55 lines):

diff -r 6d8e5aecb6a0 -r 1d80b2feb4bd mail/deliver/distinfo
--- a/mail/deliver/distinfo     Wed Jun 21 15:15:16 2006 +0000
+++ b/mail/deliver/distinfo     Wed Jun 21 15:18:42 2006 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.7 2006/01/08 13:45:45 joerg Exp $
+$NetBSD: distinfo,v 1.8 2006/06/21 15:18:42 minskim Exp $
 
 SHA1 (deliver-2.1.14.tar.gz) = 77d591f29b8829b3c347eb107a427ad826ffca99
 RMD160 (deliver-2.1.14.tar.gz) = fb3857e952ea7b4b20f3e77b38a4f633434ce533
@@ -10,7 +10,7 @@
 SHA1 (patch-ae) = a4e478765a240a2099c101ddd2d6abf3ddcf0ba2
 SHA1 (patch-af) = bc14f87956fde8f08146c79b9435cb753d5f5a2a
 SHA1 (patch-ag) = 1ea8ca73ce2f930444cdcb3a09f49a11926bf3da
-SHA1 (patch-ah) = 380e17b0e1dc659013be50e75ea0141b94081681
+SHA1 (patch-ah) = 86941685feaf22dac4f6de3d50c7d35affb4776e
 SHA1 (patch-ai) = 63e86f1dc5353bfa8519746b48e743614ce6ca46
 SHA1 (patch-aj) = 7ccbe4c2420d097608eec6dccf75fcbc7a47247e
 SHA1 (patch-ak) = d99847ed1cf65c244440fc7b6cb9a3cc4315f832
diff -r 6d8e5aecb6a0 -r 1d80b2feb4bd mail/deliver/patches/patch-ah
--- a/mail/deliver/patches/patch-ah     Wed Jun 21 15:15:16 2006 +0000
+++ b/mail/deliver/patches/patch-ah     Wed Jun 21 15:18:42 2006 +0000
@@ -1,10 +1,29 @@
-$NetBSD: patch-ah,v 1.1 2003/02/08 17:23:08 dmcmahill Exp $
+$NetBSD: patch-ah,v 1.2 2006/06/21 15:18:42 minskim Exp $
 
---- header.c.orig      Wed Dec  1 21:16:21 1999
-+++ header.c   Sat Feb  8 12:16:25 2003
-@@ -38,4 +38,5 @@
+--- header.c.orig      1999-12-02 02:16:21.000000000 +0000
++++ header.c
+@@ -36,7 +36,9 @@
+  */
+ 
  #include <stdio.h>
++#include <stdlib.h>
  #include <ctype.h>
 +#include <string.h>
  
  /*
+  * Manifest constants
+@@ -80,14 +82,6 @@ extern int optind, opterr;
+ extern char *optarg;
+ 
+ /*
+- * Library functions.
+- */
+-
+-extern char *malloc();
+-extern char *realloc();
+-extern void free();
+-
+-/*
+  * Global data
+  */
+ 



Home | Main Index | Thread Index | Old Index