diff options
Diffstat (limited to 'comms/minicom/files/patch-sysdep1.c')
-rw-r--r-- | comms/minicom/files/patch-sysdep1.c | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/comms/minicom/files/patch-sysdep1.c b/comms/minicom/files/patch-sysdep1.c deleted file mode 100644 index ba4569d8d915..000000000000 --- a/comms/minicom/files/patch-sysdep1.c +++ /dev/null @@ -1,55 +0,0 @@ ---- src/sysdep1.c.orig 2009-12-12 15:47:47 UTC -+++ src/sysdep1.c -@@ -65,13 +65,13 @@ static void m_setrts(int fd) - if (portfd_is_socket) - return; - #endif --#if defined(TIOCM_RTS) && defined(TIOCMODG) -+#if defined(TIOCM_RTS) && defined(TIOCMGET) - { - int mcs=0; - -- ioctl(fd, TIOCMODG, &mcs); -+ ioctl(fd, TIOCMGET, &mcs); - mcs |= TIOCM_RTS; -- ioctl(fd, TIOCMODS, &mcs); -+ ioctl(fd, TIOCMSET, &mcs); - } - #endif - } -@@ -180,11 +180,11 @@ int m_getdcd(int fd) - return portfd_is_connected; - } - #endif --#ifdef TIOCMODG -+#ifdef TIOCMODGET - { - int mcs = 0; - -- if (ioctl(fd, TIOCMODG, &mcs) < 0) -+ if (ioctl(fd, TIOCMODGET, &mcs) < 0) - return -1; - return mcs & TIOCM_CAR ? 1 : 0; - } -@@ -227,8 +227,8 @@ void m_savestate(int fd) - ioctl(fd, TIOCLGET, &lsw); - # endif - #endif --#ifdef TIOCMODG -- ioctl(fd, TIOCMODG, &m_word); -+#ifdef TIOCMGET -+ ioctl(fd, TIOCMGET, &m_word); - #endif - } - -@@ -252,8 +252,8 @@ void m_restorestate(int fd) - ioctl(fd, TIOCLSET, &lsw); - # endif - #endif --#ifdef TIOCMODS -- ioctl(fd, TIOCMODS, &m_word); -+#ifdef TIOCMSET -+ ioctl(fd, TIOCMSET, &m_word); - #endif - } - |