summaryrefslogtreecommitdiffstats
path: root/comms
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2000-11-11 22:18:36 +0000
committerobrien <obrien@FreeBSD.org>2000-11-11 22:18:36 +0000
commitd593fbc25733b57a2089bfa9947a980c8ac0cf00 (patch)
tree38a637650159594e59336da26ebf3f34ccc0b031 /comms
parent223f3e940f6224264962bc6574c42011fcc5a23e (diff)
downloadFreeBSD-ports-d593fbc25733b57a2089bfa9947a980c8ac0cf00.zip
FreeBSD-ports-d593fbc25733b57a2089bfa9947a980c8ac0cf00.tar.gz
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/Makefile2
-rw-r--r--comms/minicom/files/patch-sysdep1.c27
2 files changed, 28 insertions, 1 deletions
diff --git a/comms/minicom/Makefile b/comms/minicom/Makefile
index 4f7e01e..d86e226 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 0000000..3e38e2e
--- /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);
OpenPOWER on IntegriCloud