summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2017-02-17 17:00:03 +0000
committerjoerg <joerg@pkgsrc.org>2017-02-17 17:00:03 +0000
commit4c14f9bbb7330bd7f2c1efb093ad3289f01129ff (patch)
tree540c2652a65714664efd917fa99c6fd45f5d3d56 /comms
parent56ea091c773f3c48e77d511df550542c0f102554 (diff)
downloadpkgsrc-4c14f9bbb7330bd7f2c1efb093ad3289f01129ff.tar.gz
Add missing includes.
Diffstat (limited to 'comms')
-rw-r--r--comms/modemd/distinfo5
-rw-r--r--comms/modemd/patches/patch-ab15
-rw-r--r--comms/modemd/patches/patch-common_lock.c12
3 files changed, 23 insertions, 9 deletions
diff --git a/comms/modemd/distinfo b/comms/modemd/distinfo
index 653b27ade26..36ba7b75c2b 100644
--- a/comms/modemd/distinfo
+++ b/comms/modemd/distinfo
@@ -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-ar) = ae25a728c094f94a992b625fd405daedd096c5fd
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 --git a/comms/modemd/patches/patch-ab b/comms/modemd/patches/patch-ab
index de3b5cff971..451fd2e3b78 100644
--- a/comms/modemd/patches/patch-ab
+++ b/comms/modemd/patches/patch-ab
@@ -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 @@ $NetBSD: patch-ab,v 1.6 2013/09/10 14:15:11 joerg Exp $
#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 @@ $NetBSD: patch-ab,v 1.6 2013/09/10 14:15:11 joerg Exp $
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 @@ $NetBSD: patch-ab,v 1.6 2013/09/10 14:15:11 joerg Exp $
}
/* Open the terminal device. */
-@@ -131,20 +149,19 @@ int ttsetup (name)
+@@ -131,20 +150,19 @@ int ttsetup (name)
return fd;
}
@@ -64,7 +65,7 @@ $NetBSD: patch-ab,v 1.6 2013/09/10 14:15:11 joerg Exp $
{
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 @@ $NetBSD: patch-ab,v 1.6 2013/09/10 14:15:11 joerg Exp $
{
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 @@ $NetBSD: patch-ab,v 1.6 2013/09/10 14:15:11 joerg Exp $
{
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 --git a/comms/modemd/patches/patch-common_lock.c b/comms/modemd/patches/patch-common_lock.c
new file mode 100644
index 00000000000..6468def4a52
--- /dev/null
+++ b/comms/modemd/patches/patch-common_lock.c
@@ -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"
+