diff options
Diffstat (limited to 'comms/modemd/patches')
-rw-r--r-- | comms/modemd/patches/patch-ab | 16 | ||||
-rw-r--r-- | comms/modemd/patches/patch-ac | 17 | ||||
-rw-r--r-- | comms/modemd/patches/patch-ak | 13 | ||||
-rw-r--r-- | comms/modemd/patches/patch-al | 13 | ||||
-rw-r--r-- | comms/modemd/patches/patch-ap | 13 | ||||
-rw-r--r-- | comms/modemd/patches/patch-aq | 12 | ||||
-rw-r--r-- | comms/modemd/patches/patch-ar | 12 | ||||
-rw-r--r-- | comms/modemd/patches/patch-as | 13 |
8 files changed, 82 insertions, 27 deletions
diff --git a/comms/modemd/patches/patch-ab b/comms/modemd/patches/patch-ab index 230970f0179..297bd779161 100644 --- a/comms/modemd/patches/patch-ab +++ b/comms/modemd/patches/patch-ab @@ -1,8 +1,16 @@ -$NetBSD: patch-ab,v 1.2 1998/08/07 10:36:44 agc Exp $ +$NetBSD: patch-ab,v 1.3 2007/10/10 16:53:58 rillig Exp $ ---- common/ttio.c.orig Sat Feb 22 00:06:09 1997 -+++ common/ttio.c Tue Mar 3 17:19:06 1998 -@@ -73,6 +73,16 @@ +--- common/ttio.c.orig 1997-02-21 23:06:09.000000000 +0000 ++++ common/ttio.c 2007-10-10 16:48:38.000000000 +0000 +@@ -51,6 +51,7 @@ static char copyright[] = + #include "mcap.h" + #include "ttio.h" + #include <pwd.h> ++#include <stdlib.h> + + static void dectl PROTO ((char *, int, char *, int, char *)); + +@@ -73,6 +74,16 @@ int ttsetup (name) { if (chown (nbuf, pw -> pw_uid, pw -> pw_gid) < 0) warn ("Can't set owner on %s: %m", nbuf); diff --git a/comms/modemd/patches/patch-ac b/comms/modemd/patches/patch-ac index f4fecc15141..e8de332c62b 100644 --- a/comms/modemd/patches/patch-ac +++ b/comms/modemd/patches/patch-ac @@ -1,16 +1,19 @@ -$NetBSD: patch-ac,v 1.2 1998/08/07 10:36:44 agc Exp $ +$NetBSD: patch-ac,v 1.3 2007/10/10 16:53:58 rillig Exp $ ---- incoming/ppp.c.orig Tue Sep 10 02:35:12 1996 -+++ incoming/ppp.c Tue Mar 3 17:19:05 1998 -@@ -46,6 +46,7 @@ +--- incoming/ppp.c.orig 1996-09-10 00:35:12.000000000 +0000 ++++ incoming/ppp.c 2007-10-10 16:49:36.000000000 +0000 +@@ -46,8 +46,8 @@ static char copyright[] = #include "mcap.h" #include <sys/time.h> #include <signal.h> +- +-#define EOF -1 ++#include <stdio.h> +#include <stdlib.h> - #define EOF -1 - -@@ -125,7 +126,7 @@ + void ppp_detect (tty, ttyName) + int tty; +@@ -125,7 +125,7 @@ void ppp_detect (tty, ttyName) if (!lbuf) error ("Can't allocate space for login string.\n"); strcpy (lbuf, modemcap.program); diff --git a/comms/modemd/patches/patch-ak b/comms/modemd/patches/patch-ak index 854bf80b128..00454f16a83 100644 --- a/comms/modemd/patches/patch-ak +++ b/comms/modemd/patches/patch-ak @@ -1,9 +1,14 @@ -$NetBSD: patch-ak,v 1.3 2005/12/05 20:49:55 rillig Exp $ +$NetBSD: patch-ak,v 1.4 2007/10/10 16:53:58 rillig Exp $ ---- common/atparse.c.orig Thu Jun 18 16:48:18 1998 -+++ common/atparse.c Thu Jun 18 16:48:50 1998 -@@ -47,2 +47,5 @@ +--- common/atparse.c.orig 1996-04-30 07:02:36.000000000 +0000 ++++ common/atparse.c 2007-10-10 16:29:50.000000000 +0000 +@@ -45,6 +45,9 @@ static char copyright[] = + #include "cdefs.h" + #include "global.h" #include <ctype.h> +#ifdef __NetBSD__ +#include <stdlib.h> +#endif + + /* Convert a string of AT commands into a vector of pointers to individual + commands. */ diff --git a/comms/modemd/patches/patch-al b/comms/modemd/patches/patch-al index 505c6c25434..0fa79121838 100644 --- a/comms/modemd/patches/patch-al +++ b/comms/modemd/patches/patch-al @@ -1,9 +1,14 @@ -$NetBSD: patch-al,v 1.3 2005/12/05 20:49:55 rillig Exp $ +$NetBSD: patch-al,v 1.4 2007/10/10 16:53:58 rillig Exp $ ---- incoming/modemd.c.orig Thu Jun 18 16:50:31 1998 -+++ incoming/modemd.c Thu Jun 18 16:51:08 1998 -@@ -50,2 +50,5 @@ +--- incoming/modemd.c.orig 1996-09-10 00:34:58.000000000 +0000 ++++ incoming/modemd.c 2007-10-10 16:29:50.000000000 +0000 +@@ -48,6 +48,9 @@ static char copyright[] = + #include <syslog.h> + #include <pwd.h> #include <stdio.h> +#ifdef __NetBSD__ +#include <stdlib.h> +#endif + + static char *ttyName; + static char progName [1024]; diff --git a/comms/modemd/patches/patch-ap b/comms/modemd/patches/patch-ap index d132cfaba09..271dfa57967 100644 --- a/comms/modemd/patches/patch-ap +++ b/comms/modemd/patches/patch-ap @@ -1,8 +1,8 @@ -$NetBSD: patch-ap,v 1.1 2006/01/12 17:13:58 joerg Exp $ +$NetBSD: patch-ap,v 1.2 2007/10/10 16:53:59 rillig Exp $ ---- outgoing/listen.c.orig 2006-01-12 16:57:07.000000000 +0000 -+++ outgoing/listen.c -@@ -53,7 +53,7 @@ static char copyright[] = +--- outgoing/listen.c.orig 1996-04-30 07:02:48.000000000 +0000 ++++ outgoing/listen.c 2007-10-10 16:50:47.000000000 +0000 +@@ -53,10 +53,12 @@ static char copyright[] = #include <syslog.h> #include <unistd.h> #include <sys/time.h> @@ -11,3 +11,8 @@ $NetBSD: patch-ap,v 1.1 2006/01/12 17:13:58 joerg Exp $ #include <netdb.h> #include <sys/stat.h> #include <sys/resource.h> ++#include <stdio.h> ++#include <stdlib.h> + + void listener (port, addr, forkp) + int port; diff --git a/comms/modemd/patches/patch-aq b/comms/modemd/patches/patch-aq index 6265de14c32..908d9e0da3e 100644 --- a/comms/modemd/patches/patch-aq +++ b/comms/modemd/patches/patch-aq @@ -1,8 +1,8 @@ -$NetBSD: patch-aq,v 1.1 2006/01/12 17:13:58 joerg Exp $ +$NetBSD: patch-aq,v 1.2 2007/10/10 16:53:59 rillig Exp $ ---- incoming/connect.c.orig 2006-01-12 16:57:35.000000000 +0000 -+++ incoming/connect.c -@@ -53,7 +53,7 @@ static char copyright[] = +--- incoming/connect.c.orig 1996-04-30 07:02:43.000000000 +0000 ++++ incoming/connect.c 2007-10-10 16:49:07.000000000 +0000 +@@ -53,10 +53,11 @@ static char copyright[] = #include <syslog.h> #include <unistd.h> #include <sys/time.h> @@ -11,3 +11,7 @@ $NetBSD: patch-aq,v 1.1 2006/01/12 17:13:58 joerg Exp $ #include <netdb.h> #include <sys/stat.h> #include <sys/resource.h> ++#include <stdlib.h> + + static void pump PROTO ((int, int)); + diff --git a/comms/modemd/patches/patch-ar b/comms/modemd/patches/patch-ar new file mode 100644 index 00000000000..e4e5f9ebed5 --- /dev/null +++ b/comms/modemd/patches/patch-ar @@ -0,0 +1,12 @@ +$NetBSD: patch-ar,v 1.1 2007/10/10 16:53:59 rillig Exp $ + +--- common/errwarn.c.orig 1996-09-10 00:12:34.000000000 +0000 ++++ common/errwarn.c 2007-10-10 16:48:18.000000000 +0000 +@@ -46,6 +46,7 @@ static char copyright[] = + #include "global.h" + #include <syslog.h> + #include <errno.h> ++#include <stdlib.h> + + static void do_percentm PROTO ((char *obuf, char *ibuf)); + diff --git a/comms/modemd/patches/patch-as b/comms/modemd/patches/patch-as new file mode 100644 index 00000000000..5410d5ee71f --- /dev/null +++ b/comms/modemd/patches/patch-as @@ -0,0 +1,13 @@ +$NetBSD: patch-as,v 1.1 2007/10/10 16:53:59 rillig Exp $ + +--- outgoing/mpoold.c.orig 1996-04-30 07:02:48.000000000 +0000 ++++ outgoing/mpoold.c 2007-10-10 16:50:14.000000000 +0000 +@@ -52,6 +52,8 @@ static char copyright[] = + #include <netdb.h> + #include <netinet/in.h> + #include <sys/socket.h> ++#include <stdio.h> ++#include <stdlib.h> + + static void usage PROTO ((void)); + |