summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2000-11-11 22:18:36 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2000-11-11 22:18:36 +0000
commit53261c9447afdf649c77941481048c36dc3a7ea1 (patch)
tree340390b534089566065e782ebb5361fd023622af /comms
parentpkg-descr: URL update. (diff)
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>
Notes
Notes: svn path=/head/; revision=35020
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 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);