summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2011-12-19 13:25:22 +0000
committerwiz <wiz@pkgsrc.org>2011-12-19 13:25:22 +0000
commit2af63f0e1afd0cb5d50f91fa4a7f552999a35b0f (patch)
treee1a65f8f102b9985414548c66e4f522e597463ae
parent35f160c56413e2c6916d0ab670dbf9678a0a468a (diff)
downloadpkgsrc-2af63f0e1afd0cb5d50f91fa4a7f552999a35b0f.tar.gz
Fix build (add missing headers).
-rw-r--r--comms/modemd/distinfo5
-rw-r--r--comms/modemd/patches/patch-outgoing_tn.c15
-rw-r--r--comms/modemd/patches/patch-outgoing_tnstate.c15
-rw-r--r--comms/modemd/patches/patch-outgoing_tnutil.c15
4 files changed, 49 insertions, 1 deletions
diff --git a/comms/modemd/distinfo b/comms/modemd/distinfo
index 6467677ede4..9ed11ad4e64 100644
--- a/comms/modemd/distinfo
+++ b/comms/modemd/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.10 2011/11/25 21:34:34 joerg Exp $
+$NetBSD: distinfo,v 1.11 2011/12/19 13:25:22 wiz Exp $
SHA1 (modemd-970221.tar.gz) = 104f8e596f711e349203b2da8c4f2ecf40d490c3
RMD160 (modemd-970221.tar.gz) = ade5d735e5fd07b91006cf1334a41a43dca7e3d9
@@ -23,3 +23,6 @@ SHA1 (patch-aq) = f77b4b16b12ca74e897372f328e850a3d9b52229
SHA1 (patch-ar) = 0fc63025d29a0bd626ec8a51f8c6a461bdbb84a4
SHA1 (patch-as) = 5ac081a2200b72321973004803d15dd3b9d387b3
SHA1 (patch-incoming_login.c) = 9ece373aee2ea8caa751752a5390decf390eef12
+SHA1 (patch-outgoing_tn.c) = 133c714eb6d33912f6edfcd12034b3155707d701
+SHA1 (patch-outgoing_tnstate.c) = da65871a0397c13e1cd345c1832e3cfbe188f629
+SHA1 (patch-outgoing_tnutil.c) = ef8b3f32a6e491d6fa56ba3a8f8c4ee64a368cc9
diff --git a/comms/modemd/patches/patch-outgoing_tn.c b/comms/modemd/patches/patch-outgoing_tn.c
new file mode 100644
index 00000000000..101aefc5e43
--- /dev/null
+++ b/comms/modemd/patches/patch-outgoing_tn.c
@@ -0,0 +1,15 @@
+$NetBSD: patch-outgoing_tn.c,v 1.1 2011/12/19 13:25:22 wiz Exp $
+
+Add missing header files (for cleanup()).
+
+--- outgoing/tn.c.orig 1996-09-10 00:58:34.000000000 +0000
++++ outgoing/tn.c
+@@ -49,6 +49,8 @@ static char sccsid[] = "@(#)telnetd.c 8.
+
+ #include "tndefs.h"
+ #include "tnext.h"
++#include "cdefs.h"
++#include "global.h"
+
+ int secflag;
+ char tty_dev[16];
diff --git a/comms/modemd/patches/patch-outgoing_tnstate.c b/comms/modemd/patches/patch-outgoing_tnstate.c
new file mode 100644
index 00000000000..2290a2b242e
--- /dev/null
+++ b/comms/modemd/patches/patch-outgoing_tnstate.c
@@ -0,0 +1,15 @@
+$NetBSD: patch-outgoing_tnstate.c,v 1.1 2011/12/19 13:25:22 wiz Exp $
+
+Add missing header files (for cleanup()).
+
+--- outgoing/tnstate.c.orig 1996-04-30 07:02:49.000000000 +0000
++++ outgoing/tnstate.c
+@@ -40,6 +40,8 @@ static char sccsid[] = "@(#)state.c 8.1
+
+ #include "tndefs.h"
+ #include "tnext.h"
++#include "cdefs.h"
++#include "global.h"
+
+ unsigned char doopt[] = { IAC, DO, '%', 'c', 0 };
+ unsigned char dont[] = { IAC, DONT, '%', 'c', 0 };
diff --git a/comms/modemd/patches/patch-outgoing_tnutil.c b/comms/modemd/patches/patch-outgoing_tnutil.c
new file mode 100644
index 00000000000..519c1f6333b
--- /dev/null
+++ b/comms/modemd/patches/patch-outgoing_tnutil.c
@@ -0,0 +1,15 @@
+$NetBSD: patch-outgoing_tnutil.c,v 1.1 2011/12/19 13:25:22 wiz Exp $
+
+Add missing header files (for cleanup()).
+
+--- outgoing/tnutil.c.orig 1996-04-30 07:02:50.000000000 +0000
++++ outgoing/tnutil.c
+@@ -41,6 +41,8 @@ static char sccsid[] = "@(#)utility.c 8.
+ #define PRINTOPTIONS
+ #include "tndefs.h"
+ #include "tnext.h"
++#include "cdefs.h"
++#include "global.h"
+
+ /*
+ * utility functions performing io related tasks