aboutsummaryrefslogtreecommitdiffstats
path: root/comms
diff options
context:
space:
mode:
authorcy <cy@FreeBSD.org>2007-09-13 07:37:21 +0800
committercy <cy@FreeBSD.org>2007-09-13 07:37:21 +0800
commitc9604f4fb1d2d844f651d695c13ce8303b2b26f2 (patch)
treeb9b57551d8db7518e2c645062bac126319f8eee1 /comms
parentf9fee98075eabe4b2c710c071291203130b5d59c (diff)
downloadfreebsd-ports-gnome-c9604f4fb1d2d844f651d695c13ce8303b2b26f2.tar.gz
freebsd-ports-gnome-c9604f4fb1d2d844f651d695c13ce8303b2b26f2.tar.zst
freebsd-ports-gnome-c9604f4fb1d2d844f651d695c13ce8303b2b26f2.zip
Fix build under 7.0-CURRENT.
Diffstat (limited to 'comms')
-rw-r--r--comms/conserver/files/patch-af26
1 files changed, 21 insertions, 5 deletions
diff --git a/comms/conserver/files/patch-af b/comms/conserver/files/patch-af
index 3e6784f3e2c2..c85432d262c5 100644
--- a/comms/conserver/files/patch-af
+++ b/comms/conserver/files/patch-af
@@ -1,6 +1,6 @@
---- etc/console/console.m.orig Sat Nov 22 23:19:33 1997
-+++ etc/console/console.m Wed Nov 17 18:29:04 1999
-@@ -566,17 +566,17 @@
+--- etc/console/console.m.orig 2000-08-02 11:39:42.000000000 -0700
++++ etc/console/console.m 2007-09-12 09:30:56.000000000 -0700
+@@ -582,17 +582,17 @@
return;
#if USE_TERMIOS
@@ -21,7 +21,7 @@
fprintf(stderr, "%s: getarrt: %s\n", progname, strerror(errno));
exit(10);
}
-@@ -652,7 +652,7 @@
+@@ -668,7 +668,7 @@
if (!screwy)
return;
#if USE_TERMIOS
@@ -30,7 +30,7 @@
#else
#if USE_TERMIO
(void)ioctl(0, TCSETA, (char *)&o_tio);
-@@ -677,7 +677,7 @@
+@@ -693,7 +693,7 @@
register int nr;
while (0 != iLen) {
@@ -39,3 +39,19 @@
c2cooked();
fprintf(stderr, "%s: lost connection\n", progname);
exit(3);
+@@ -980,6 +980,7 @@
+ static int SawUrg = 0;
+ #if DO_POWER
+ static char acPowCtl[128];
++static int Indir();
+
+ /* We take a moment to call the power controller and ask (ksb)
+ * them about the console line we were chatting with. We'll be right
+@@ -991,7 +992,6 @@
+ char *pcControl, *pcLine, *pcCurrent;
+ {
+ register char *pcAt;
+- static int Indir();
+
+ if ((char *)0 != (pcAt = strchr(pcControl, '@'))) {
+ *pcAt++ = '\000';