aboutsummaryrefslogtreecommitdiffstats
path: root/comms
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2008-07-25 04:20:53 +0800
committerpav <pav@FreeBSD.org>2008-07-25 04:20:53 +0800
commitec76ced5cafed8ff153afdb5b5d4d54985de45b9 (patch)
treedd51e1e371d0da14b3e32c560b828cbf08b9bf15 /comms
parent7ddff5d4e0cc6c10dd8aa6a1bbda37cc6965123c (diff)
downloadfreebsd-ports-gnome-ec76ced5cafed8ff153afdb5b5d4d54985de45b9.tar.gz
freebsd-ports-gnome-ec76ced5cafed8ff153afdb5b5d4d54985de45b9.tar.zst
freebsd-ports-gnome-ec76ced5cafed8ff153afdb5b5d4d54985de45b9.zip
- Disable sgtty interface (removed from 8-CURRENT recently) and enable termios
interface PR: ports/124484 Submitted by: ed Approved by: maintainer timeout (cy; 1 month)
Diffstat (limited to 'comms')
-rw-r--r--comms/conserver/Makefile2
-rw-r--r--comms/conserver/files/patch-sgtty63
2 files changed, 64 insertions, 1 deletions
diff --git a/comms/conserver/Makefile b/comms/conserver/Makefile
index a94e55427b9f..abccf88bda5b 100644
--- a/comms/conserver/Makefile
+++ b/comms/conserver/Makefile
@@ -8,7 +8,7 @@
PORTNAME= conserver
PORTVERSION= 8.5
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= comms
MASTER_SITES= ftp://ftp.physics.purdue.edu/pub/pundits/ \
http://www.komquats.com/distfiles/ \
diff --git a/comms/conserver/files/patch-sgtty b/comms/conserver/files/patch-sgtty
new file mode 100644
index 000000000000..c6c8e19cf092
--- /dev/null
+++ b/comms/conserver/files/patch-sgtty
@@ -0,0 +1,63 @@
+--- etc/autologin/autologin.c
++++ etc/autologin/autologin.c
+@@ -41,7 +41,6 @@
+
+ #if USE_TERMIOS
+ #include <termios.h>
+-#include <unistd.h>
+
+ #else
+ #if USE_TERMIO
+@@ -443,11 +442,11 @@
+ /* NOTREACHED */
+ }
+ #endif
+- n_tio.c_iflag &= ~(IGNCR|IUCLC);
++ n_tio.c_iflag &= ~(IGNCR);
+ n_tio.c_iflag |= ICRNL|IXON|IXANY;
+- n_tio.c_oflag &= ~(OLCUC|ONOCR|ONLRET|OFILL|NLDLY|CRDLY|TABDLY|BSDLY);
+- n_tio.c_oflag |= OPOST|ONLCR|TAB3;
+- n_tio.c_lflag &= ~(XCASE|NOFLSH|ECHOK|ECHONL);
++ n_tio.c_oflag &= ~(ONOCR|ONLRET);
++ n_tio.c_oflag |= OPOST|ONLCR|OXTABS;
++ n_tio.c_lflag &= ~(NOFLSH|ECHOK|ECHONL);
+ n_tio.c_lflag |= ISIG|ICANON|ECHO;
+ n_tio.c_cc[VEOF] = '\004'; /* ^D */
+ n_tio.c_cc[VEOL] = '\000'; /* EOL */
+--- etc/autologin/machine.h
++++ etc/autologin/machine.h
+@@ -38,7 +38,7 @@
+ #define USE_TERMIO (defined(ETA10)||defined(V386))
+ #endif
+ #if !defined(USE_TERMIOS)
+-#define USE_TERMIOS (defined(HPUX)||defined(SUN5)||defined(PTX)||defined(IRIX5)||defined(LINUX))
++#define USE_TERMIOS (defined(HPUX)||defined(SUN5)||defined(PTX)||defined(IRIX5)||defined(LINUX)||defined(FREEBSD))
+ #endif
+ #if !defined(USE_TCBREAK)
+ #define USE_TCBREAK (defined(SUN4)||defined(PTX))
+@@ -66,7 +66,7 @@
+ #endif
+
+ #if !defined(USE_TC)
+-#define USE_TC (defined(EPIX)||defined(IBMR2)||defined(V386)||defined(S81)||defined(PARAGON))
++#define USE_TC (defined(EPIX)||defined(IBMR2)||defined(V386)||defined(S81)||defined(PARAGON)||defined(FREEBSD))
+ #endif
+
+ #if !defined(HAVE_GETUSERATTR)
+@@ -74,7 +74,7 @@
+ #endif
+
+ #if !defined(USE_IOCTL)
+-#define USE_IOCTL (defined(V386)||defined(S81)||defined(NETBSD)||defined(FREEBSD))
++#define USE_IOCTL (defined(V386)||defined(S81)||defined(NETBSD))
+ #endif
+
+
+@@ -127,7 +127,6 @@
+ #if FREEBSD
+ #include <sys/uio.h>
+ #include <sys/proc.h>
+-#include <sys/ioctl_compat.h>
+ #define setsid() getpid()
+ #else
+