pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/comms/mgetty+sendfax Don't use malloc.h.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/01484c952e48
branches:  trunk
changeset: 531929:01484c952e48
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Wed Aug 08 20:00:12 2007 +0000

description:
Don't use malloc.h.

diffstat:

 comms/mgetty+sendfax/distinfo         |   4 +++-
 comms/mgetty+sendfax/patches/patch-ar |  18 ++++++++++++++++++
 comms/mgetty+sendfax/patches/patch-as |  27 +++++++++++++++++++++++++++
 3 files changed, 48 insertions(+), 1 deletions(-)

diffs (68 lines):

diff -r 977f20403ec3 -r 01484c952e48 comms/mgetty+sendfax/distinfo
--- a/comms/mgetty+sendfax/distinfo     Wed Aug 08 19:57:32 2007 +0000
+++ b/comms/mgetty+sendfax/distinfo     Wed Aug 08 20:00:12 2007 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.26 2007/03/01 17:09:00 wiz Exp $
+$NetBSD: distinfo,v 1.27 2007/08/08 20:00:12 joerg Exp $
 
 SHA1 (mgetty1.1.31-Jul24.tar.gz) = a6f20da26b49bbfa695791edec7d0a2247b79e2d
 RMD160 (mgetty1.1.31-Jul24.tar.gz) = 255eec0838ce5bfad04c53d478a4505e74111a07
@@ -18,3 +18,5 @@
 SHA1 (patch-am) = 682ed20b5dae0aadfae477741ccba10bc98266d8
 SHA1 (patch-ap) = 4b101e76df0081cc62c6fcfb424300019c09819b
 SHA1 (patch-aq) = 160e94001568a0a4025a0d26140f972ec0ed8648
+SHA1 (patch-ar) = 313f76a5d989c4511935d6fdc2ea2aadcbed76a0
+SHA1 (patch-as) = 85bcf39cf5323625bb71f1659413e87864c824cf
diff -r 977f20403ec3 -r 01484c952e48 comms/mgetty+sendfax/patches/patch-ar
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/comms/mgetty+sendfax/patches/patch-ar     Wed Aug 08 20:00:12 2007 +0000
@@ -0,0 +1,18 @@
+$NetBSD: patch-ar,v 1.1 2007/08/08 20:00:12 joerg Exp $
+
+--- syslibs.h.orig     2007-08-08 19:35:23.000000000 +0000
++++ syslibs.h
+@@ -3,13 +3,7 @@
+ /* Include stdlib.h / malloc.h, depending on the O/S
+  */
+ 
+-#ifndef _NOSTDLIB_H
+ #include <stdlib.h>
+-#endif
+-
+-#if !defined( __bsdi__ ) && !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(NeXT) && !defined(__MACH__)
+-#include <malloc.h>
+-#endif
+ 
+ #ifdef NEXTSGTTY              /* NeXT, not POSIX subsystem */
+ # include <libc.h>
diff -r 977f20403ec3 -r 01484c952e48 comms/mgetty+sendfax/patches/patch-as
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/comms/mgetty+sendfax/patches/patch-as     Wed Aug 08 20:00:12 2007 +0000
@@ -0,0 +1,27 @@
+$NetBSD: patch-as,v 1.1 2007/08/08 20:00:12 joerg Exp $
+
+--- voice/include/voice.h.orig 2007-08-08 19:38:21.000000000 +0000
++++ voice/include/voice.h
+@@ -11,10 +11,7 @@
+ #ifndef VOICE_INCLUDE_VOICE_H
+ #define VOICE_INCLUDE_VOICE_H
+ 
+-#ifndef _NOSTDLIB_H
+-# include <stdlib.h>
+-#endif
+-
++#include <stdlib.h>
+ #include <stdio.h>
+ #include <unistd.h>
+ 
+@@ -22,10 +19,6 @@
+ #include <errno.h>
+ #include <fcntl.h>
+ 
+-#if !defined( __bsdi__ ) && !defined(__FreeBSD__) && !defined(NeXT) && !defined(__OpenBSD__)
+-# include <malloc.h>
+-#endif
+-
+ #include <math.h>
+ #include <signal.h>
+ #include <string.h>



Home | Main Index | Thread Index | Old Index