diff options
author | joerg <joerg> | 2007-08-08 20:00:12 +0000 |
---|---|---|
committer | joerg <joerg> | 2007-08-08 20:00:12 +0000 |
commit | cafcb31e260ea52c41971d7fffbc47e288e8fcbe (patch) | |
tree | e70b30cd5c133ed98961626428a4631337c284f2 /comms | |
parent | f1fe045c29b5663192d6fb49ec21c6f78d70944d (diff) | |
download | pkgsrc-cafcb31e260ea52c41971d7fffbc47e288e8fcbe.tar.gz |
Don't use malloc.h.
Diffstat (limited to 'comms')
-rw-r--r-- | comms/mgetty+sendfax/distinfo | 4 | ||||
-rw-r--r-- | comms/mgetty+sendfax/patches/patch-ar | 18 | ||||
-rw-r--r-- | comms/mgetty+sendfax/patches/patch-as | 27 |
3 files changed, 48 insertions, 1 deletions
diff --git a/comms/mgetty+sendfax/distinfo b/comms/mgetty+sendfax/distinfo index 1ddd1ddc798..e853b1dc930 100644 --- a/comms/mgetty+sendfax/distinfo +++ b/comms/mgetty+sendfax/distinfo @@ -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-al) = 2a6dcf13d65446d2064228b1024517e599892a60 SHA1 (patch-am) = 682ed20b5dae0aadfae477741ccba10bc98266d8 SHA1 (patch-ap) = 4b101e76df0081cc62c6fcfb424300019c09819b SHA1 (patch-aq) = 160e94001568a0a4025a0d26140f972ec0ed8648 +SHA1 (patch-ar) = 313f76a5d989c4511935d6fdc2ea2aadcbed76a0 +SHA1 (patch-as) = 85bcf39cf5323625bb71f1659413e87864c824cf diff --git a/comms/mgetty+sendfax/patches/patch-ar b/comms/mgetty+sendfax/patches/patch-ar new file mode 100644 index 00000000000..3756c50b4c3 --- /dev/null +++ b/comms/mgetty+sendfax/patches/patch-ar @@ -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 --git a/comms/mgetty+sendfax/patches/patch-as b/comms/mgetty+sendfax/patches/patch-as new file mode 100644 index 00000000000..73c011a653b --- /dev/null +++ b/comms/mgetty+sendfax/patches/patch-as @@ -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> |