diff options
author | obrien <obrien@FreeBSD.org> | 2000-11-12 06:18:36 +0800 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2000-11-12 06:18:36 +0800 |
commit | d593fbc25733b57a2089bfa9947a980c8ac0cf00 (patch) | |
tree | 38a637650159594e59336da26ebf3f34ccc0b031 /comms | |
parent | 223f3e940f6224264962bc6574c42011fcc5a23e (diff) | |
download | freebsd-ports-gnome-d593fbc25733b57a2089bfa9947a980c8ac0cf00.tar.gz freebsd-ports-gnome-d593fbc25733b57a2089bfa9947a980c8ac0cf00.tar.zst freebsd-ports-gnome-d593fbc25733b57a2089bfa9947a980c8ac0cf00.zip |
Better detecting of modem status lines.
Use the 4.4BSD spelling of TIOCMGET and TIOCMSET rather than the obsolete
TIOCMODG and TIOCMOD.
PR: 16341
Submitted by: Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
Diffstat (limited to 'comms')
-rw-r--r-- | comms/minicom/Makefile | 2 | ||||
-rw-r--r-- | comms/minicom/files/patch-sysdep1.c | 27 |
2 files changed, 28 insertions, 1 deletions
diff --git a/comms/minicom/Makefile b/comms/minicom/Makefile index 4f7e01e52427..d86e22605754 100644 --- a/comms/minicom/Makefile +++ b/comms/minicom/Makefile @@ -8,7 +8,7 @@ PORTNAME= minicom PORTVERSION= 1.83.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= comms MASTER_SITES= ${MASTER_SITE_SUNSITE} \ http://www.pp.clinet.fi/~walker/mc-dev/ \ diff --git a/comms/minicom/files/patch-sysdep1.c b/comms/minicom/files/patch-sysdep1.c new file mode 100644 index 000000000000..3e38e2eb6b65 --- /dev/null +++ b/comms/minicom/files/patch-sysdep1.c @@ -0,0 +1,27 @@ +--- sysdep1.c.orig Wed Mar 15 08:45:03 2000 ++++ sysdep1.c Fri Nov 10 09:26:24 2000 +@@ -69 +69 @@ +-#if defined(TIOCM_RTS) && defined(TIOCMODG) ++#if defined(TIOCM_RTS) && defined(TIOCMGET) +@@ -72 +72 @@ +- ioctl(fd, TIOCMODG, &mcs); ++ ioctl(fd, TIOCMGET, &mcs); +@@ -74 +74 @@ +- ioctl(fd, TIOCMODS, &mcs); ++ ioctl(fd, TIOCMSET, &mcs); +@@ -180 +180 @@ +-#ifdef TIOCMODG ++#ifdef TIOCMGET +@@ -183 +183 @@ +- ioctl(fd, TIOCMODG, &mcs); ++ ioctl(fd, TIOCMGET, &mcs); +@@ -221,2 +221,2 @@ +-#ifdef TIOCMODG +- ioctl(fd, TIOCMODG, &m_word); ++#ifdef TIOCMGET ++ ioctl(fd, TIOCMGET, &m_word); +@@ -243,2 +243,2 @@ +-#ifdef TIOCMODS +- ioctl(fd, TIOCMODS, &m_word); ++#ifdef TIOCMSET ++ ioctl(fd, TIOCMSET, &m_word); |