pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/comms/modemd Add missing includes.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/37fa1a547a39
branches:  trunk
changeset: 358646:37fa1a547a39
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Fri Feb 17 17:00:03 2017 +0000

description:
Add missing includes.

diffstat:

 comms/modemd/distinfo                    |   5 +++--
 comms/modemd/patches/patch-ab            |  15 ++++++++-------
 comms/modemd/patches/patch-common_lock.c |  12 ++++++++++++
 3 files changed, 23 insertions(+), 9 deletions(-)

diffs (108 lines):

diff -r d9c9a0310a53 -r 37fa1a547a39 comms/modemd/distinfo
--- a/comms/modemd/distinfo     Fri Feb 17 15:53:50 2017 +0000
+++ b/comms/modemd/distinfo     Fri Feb 17 17:00:03 2017 +0000
@@ -1,11 +1,11 @@
-$NetBSD: distinfo,v 1.15 2015/11/07 23:26:34 dholland Exp $
+$NetBSD: distinfo,v 1.16 2017/02/17 17:00:03 joerg Exp $
 
 SHA1 (modemd-970221.tar.gz) = 104f8e596f711e349203b2da8c4f2ecf40d490c3
 RMD160 (modemd-970221.tar.gz) = ade5d735e5fd07b91006cf1334a41a43dca7e3d9
 SHA512 (modemd-970221.tar.gz) = 33a6581f595a2a5ca6d8beb475e93cb3e933127fe84b50d6e22aad39bd34f55c69b3d0e90e9fb81671ce22f8939b52e51576d6d352d633c9c66b1726c832e129
 Size (modemd-970221.tar.gz) = 56093 bytes
 SHA1 (patch-aa) = 093d70c98c5fa21f3c5fff8dc5092ca0afa365ef
-SHA1 (patch-ab) = 9e797451de1de1e3515562281d9ae8e16f2c0de6
+SHA1 (patch-ab) = 27c0aeae8cc541a3a601f1ab0982f2a7f1c720b4
 SHA1 (patch-ac) = fe3898ea85204631e31c49a8872855c0e7c09e9d
 SHA1 (patch-ad) = f18d3ffe0658ef2709eb28d342b31361b86b1b0b
 SHA1 (patch-ae) = 44e38979c686f66a22e3fd3b027cb9129b6266ba
@@ -25,6 +25,7 @@
 SHA1 (patch-as) = 5ac081a2200b72321973004803d15dd3b9d387b3
 SHA1 (patch-cf_sunos4.h) = efe0b9c58ad20247cbc313c1569f9d0be8901d14
 SHA1 (patch-common_dialog.c) = 2dd6fadd2a83eede976d63e15364650955cf9cca
+SHA1 (patch-common_lock.c) = 9812865d1f75c387273285d278b729ee53c7139d
 SHA1 (patch-incoming_login.c) = 62784076e0ac1e23e2e7a6f8c248f3e1fa6b6293
 SHA1 (patch-outgoing_tn.c) = 133c714eb6d33912f6edfcd12034b3155707d701
 SHA1 (patch-outgoing_tnstate.c) = 7ecc5645e2b4d854a784a7a52487fbef024fa51a
diff -r d9c9a0310a53 -r 37fa1a547a39 comms/modemd/patches/patch-ab
--- a/comms/modemd/patches/patch-ab     Fri Feb 17 15:53:50 2017 +0000
+++ b/comms/modemd/patches/patch-ab     Fri Feb 17 17:00:03 2017 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-ab,v 1.6 2013/09/10 14:15:11 joerg Exp $
+$NetBSD: patch-ab,v 1.7 2017/02/17 17:00:03 joerg Exp $
 
 --- common/ttio.c.orig 1997-02-21 23:06:09.000000000 +0000
 +++ common/ttio.c
-@@ -45,12 +45,20 @@ static char copyright[] =
+@@ -45,12 +45,21 @@ static char copyright[] =
  #include "osdep.h"
  #include "cdefs.h"
  #include "global.h"
@@ -14,6 +14,7 @@
  #include "ttio.h"
  #include <pwd.h>
 +#include <stdlib.h>
++#include <sys/stat.h>
 +#include <sys/ioctl.h>
 +#ifndef __sun
 +#include <util.h>
@@ -23,7 +24,7 @@
  
  static void dectl PROTO ((char *, int, char *, int, char *));
  
-@@ -73,6 +81,16 @@ int ttsetup (name)
+@@ -73,6 +82,16 @@ int ttsetup (name)
      {
        if (chown (nbuf, pw -> pw_uid, pw -> pw_gid) < 0)
        warn ("Can't set owner on %s: %m", nbuf);
@@ -40,7 +41,7 @@
      }
  
    /* Open the terminal device. */
-@@ -131,20 +149,19 @@ int ttsetup (name)
+@@ -131,20 +150,19 @@ int ttsetup (name)
    return fd;
  }
  
@@ -64,7 +65,7 @@
  {
    int i;
  
-@@ -203,10 +220,8 @@ static int tteof = 0;
+@@ -203,10 +221,8 @@ static int tteof = 0;
  
  /* Match the specified string with input from the specified tty.
     Return nonzero if input matches, zero if not. */
@@ -77,7 +78,7 @@
  {
    TIME entry, now, to;
    int cur, curmatch, next;
-@@ -230,7 +245,7 @@ ttmatch (ANSI_DECL (int) tty, ANSI_DECL 
+@@ -230,7 +246,7 @@ ttmatch (ANSI_DECL (int) tty, ANSI_DECL 
         match, try reading some more data from the tty... */
        matchID = 1;
        VA_start (list, timeout);
@@ -86,7 +87,7 @@
        {
          syslog (LOG_DEBUG, "Matching against %s", string);
          for (cur = ttstart; cur != ttend; cur = NEXT (cur))
-@@ -316,9 +331,7 @@ ttmatch (ANSI_DECL (int) tty, ANSI_DECL 
+@@ -316,9 +332,7 @@ ttmatch (ANSI_DECL (int) tty, ANSI_DECL 
  }
  
  /* Read a connect speed from standard in... */
diff -r d9c9a0310a53 -r 37fa1a547a39 comms/modemd/patches/patch-common_lock.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/comms/modemd/patches/patch-common_lock.c  Fri Feb 17 17:00:03 2017 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-common_lock.c,v 1.1 2017/02/17 17:00:03 joerg Exp $
+
+--- common/lock.c.orig 2017-02-17 16:09:19.801857592 +0000
++++ common/lock.c
+@@ -47,6 +47,7 @@ static char copyright[] =
+ #include <stdio.h>
+ #include <fcntl.h>
+ #include <syslog.h>
++#include <sys/stat.h>
+ #include "mcap.h"
+ #include "ttio.h"
+ 



Home | Main Index | Thread Index | Old Index