pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/comms/modemd Fixed implicit function declarations.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d748cb8d9f68
branches:  trunk
changeset: 533998:d748cb8d9f68
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Wed Oct 10 16:53:58 2007 +0000

description:
Fixed implicit function declarations.

diffstat:

 comms/modemd/distinfo         |  16 +++++++++-------
 comms/modemd/patches/patch-ab |  16 ++++++++++++----
 comms/modemd/patches/patch-ac |  17 ++++++++++-------
 comms/modemd/patches/patch-ak |  13 +++++++++----
 comms/modemd/patches/patch-al |  13 +++++++++----
 comms/modemd/patches/patch-ap |  13 +++++++++----
 comms/modemd/patches/patch-aq |  12 ++++++++----
 comms/modemd/patches/patch-ar |  12 ++++++++++++
 comms/modemd/patches/patch-as |  13 +++++++++++++
 9 files changed, 91 insertions(+), 34 deletions(-)

diffs (215 lines):

diff -r 76088a85a505 -r d748cb8d9f68 comms/modemd/distinfo
--- a/comms/modemd/distinfo     Wed Oct 10 15:27:15 2007 +0000
+++ b/comms/modemd/distinfo     Wed Oct 10 16:53:58 2007 +0000
@@ -1,11 +1,11 @@
-$NetBSD: distinfo,v 1.6 2006/01/12 17:13:58 joerg Exp $
+$NetBSD: distinfo,v 1.7 2007/10/10 16:53:58 rillig Exp $
 
 SHA1 (modemd-970221.tar.gz) = 104f8e596f711e349203b2da8c4f2ecf40d490c3
 RMD160 (modemd-970221.tar.gz) = ade5d735e5fd07b91006cf1334a41a43dca7e3d9
 Size (modemd-970221.tar.gz) = 56093 bytes
 SHA1 (patch-aa) = 093d70c98c5fa21f3c5fff8dc5092ca0afa365ef
-SHA1 (patch-ab) = 8afeab67a4715d7f6ed553dee5c82d442120876d
-SHA1 (patch-ac) = 2f87a347c6723179da84379ced6f6ad83d412708
+SHA1 (patch-ab) = 8d84156457fe4b9b1832bbcb98c2bfed51230ca8
+SHA1 (patch-ac) = 55f4bf4b57e1c42becb816ac4982620c42a5bf1a
 SHA1 (patch-ad) = e8c78c84b9ab58644d8e2e105416d5ef5b59fba4
 SHA1 (patch-ae) = 44e38979c686f66a22e3fd3b027cb9129b6266ba
 SHA1 (patch-af) = c438c7ddaa223ae5bdb5b4fd11c5d6304eec4008
@@ -13,10 +13,12 @@
 SHA1 (patch-ah) = 9294419cd64c3b5cc9ebadc3a4c135a0a969262d
 SHA1 (patch-ai) = 8e81c1e522979f616f2f4aafd5dd65400a6330fa
 SHA1 (patch-aj) = 5616eff4fa6bc17377d2a433bbbaf2ca83909b94
-SHA1 (patch-ak) = 089a0217e119e2f6e1138e35f81661d92e71f780
-SHA1 (patch-al) = a75de09e5df044b66b034a4ca9aa2148d0c68576
+SHA1 (patch-ak) = 49e119497deb123a95e6b48a50829b2ffb00300d
+SHA1 (patch-al) = 8f1d06be71aa3872975fa498fddf6b119c25755a
 SHA1 (patch-am) = d740f41abf89f760431f32ca7ffa25bf1b3bd4e1
 SHA1 (patch-an) = 3369e7dc8db3f837bc4f71ec72e6f7882462c2a7
 SHA1 (patch-ao) = 64271c0955600d1ad9bc7f4c74273a537d33f71c
-SHA1 (patch-ap) = ff74a479a9d8a9a37fd4f0648e5b247b6e9d3e9c
-SHA1 (patch-aq) = 874c11edf0359fa8bc5ff2226b0b5c4e22acc919
+SHA1 (patch-ap) = 653a76fba61b627668d98148825aa4f5b825aefa
+SHA1 (patch-aq) = de93880d260d9fc499e1ee3ee1827f4845853af9
+SHA1 (patch-ar) = edc22081f85f852544dba31ec230706e2cf4e5ed
+SHA1 (patch-as) = 108b92c07e43556dd96d8f38c4d0657fd74ca106
diff -r 76088a85a505 -r d748cb8d9f68 comms/modemd/patches/patch-ab
--- a/comms/modemd/patches/patch-ab     Wed Oct 10 15:27:15 2007 +0000
+++ b/comms/modemd/patches/patch-ab     Wed Oct 10 16:53:58 2007 +0000
@@ -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 -r 76088a85a505 -r d748cb8d9f68 comms/modemd/patches/patch-ac
--- a/comms/modemd/patches/patch-ac     Wed Oct 10 15:27:15 2007 +0000
+++ b/comms/modemd/patches/patch-ac     Wed Oct 10 16:53:58 2007 +0000
@@ -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 -r 76088a85a505 -r d748cb8d9f68 comms/modemd/patches/patch-ak
--- a/comms/modemd/patches/patch-ak     Wed Oct 10 15:27:15 2007 +0000
+++ b/comms/modemd/patches/patch-ak     Wed Oct 10 16:53:58 2007 +0000
@@ -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 -r 76088a85a505 -r d748cb8d9f68 comms/modemd/patches/patch-al
--- a/comms/modemd/patches/patch-al     Wed Oct 10 15:27:15 2007 +0000
+++ b/comms/modemd/patches/patch-al     Wed Oct 10 16:53:58 2007 +0000
@@ -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 -r 76088a85a505 -r d748cb8d9f68 comms/modemd/patches/patch-ap
--- a/comms/modemd/patches/patch-ap     Wed Oct 10 15:27:15 2007 +0000
+++ b/comms/modemd/patches/patch-ap     Wed Oct 10 16:53:58 2007 +0000
@@ -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 @@
  #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 -r 76088a85a505 -r d748cb8d9f68 comms/modemd/patches/patch-aq
--- a/comms/modemd/patches/patch-aq     Wed Oct 10 15:27:15 2007 +0000
+++ b/comms/modemd/patches/patch-aq     Wed Oct 10 16:53:58 2007 +0000
@@ -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 @@
  #include <netdb.h>
  #include <sys/stat.h>
  #include <sys/resource.h>
++#include <stdlib.h>
+ 
+ static void pump PROTO ((int, int));
+ 
diff -r 76088a85a505 -r d748cb8d9f68 comms/modemd/patches/patch-ar
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/comms/modemd/patches/patch-ar     Wed Oct 10 16:53:58 2007 +0000
@@ -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 -r 76088a85a505 -r d748cb8d9f68 comms/modemd/patches/patch-as
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/comms/modemd/patches/patch-as     Wed Oct 10 16:53:58 2007 +0000
@@ -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));
+ 



Home | Main Index | Thread Index | Old Index