diff options
author | Stuart Cardall <developer@it-offshore.co.uk> | 2015-04-23 17:13:37 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2015-04-28 00:51:46 +0200 |
commit | 78f4aa790d1ba15270480f2b16b132d87d28fb0b (patch) | |
tree | 5bd54ab0fac648bd0ab9b5fb21b381b8dd12032d /testing/modemmanager/no-XCASE.patch | |
parent | 82b653169415b01862f56c3c86825c7888773f69 (diff) | |
download | aports-78f4aa790d1ba15270480f2b16b132d87d28fb0b.tar.bz2 aports-78f4aa790d1ba15270480f2b16b132d87d28fb0b.tar.xz |
testing/modemmanager: new aport
ModemManager is a DBus-activated daemon which controls mobile broadband (2G/3G/4G)
devices and connections. Whether built-in devices, USB dongles, bluetooth-paired
telephones, or professional RS232/USB devices with external power supplies,
ModemManager is able to prepare and configure the modems and setup connections
with them.
http://www.freedesktop.org/wiki/Software/ModemManager/
Diffstat (limited to 'testing/modemmanager/no-XCASE.patch')
-rw-r--r-- | testing/modemmanager/no-XCASE.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/testing/modemmanager/no-XCASE.patch b/testing/modemmanager/no-XCASE.patch new file mode 100644 index 0000000000..1de41f753d --- /dev/null +++ b/testing/modemmanager/no-XCASE.patch @@ -0,0 +1,35 @@ +## http://man7.org/linux/man-pages/man3/termios.3.html +## XCASE (not in POSIX; not supported under Linux) +--- ModemManager-1.4.6/libqcdm/src/com.c ++++ ModemManager-1.4.6.new/libqcdm/src/com.c +@@ -39,7 +39,7 @@ + stbuf.c_iflag &= ~(HUPCL | IUTF8 | IUCLC | ISTRIP | IXON | IXOFF | IXANY | ICRNL); + stbuf.c_oflag &= ~(OPOST | OCRNL | ONLCR | OLCUC | ONLRET); + stbuf.c_lflag &= ~(ICANON | ISIG | IEXTEN | ECHO | ECHOE | ECHOK | ECHONL); +- stbuf.c_lflag &= ~(NOFLSH | XCASE | TOSTOP | ECHOPRT | ECHOCTL | ECHOKE); ++ stbuf.c_lflag &= ~(NOFLSH | TOSTOP | ECHOPRT | ECHOCTL | ECHOKE); + stbuf.c_cc[VMIN] = 1; + stbuf.c_cc[VTIME] = 0; + stbuf.c_cc[VEOF] = 1; +--- ModemManager-1.4.6/libwmc/src/com.c ++++ ModemManager-1.4.6.new/libwmc/src/com.c +@@ -39,7 +39,7 @@ + stbuf.c_iflag &= ~(HUPCL | IUTF8 | IUCLC | ISTRIP | IXON | IXOFF | IXANY | ICRNL); + stbuf.c_oflag &= ~(OPOST | OCRNL | ONLCR | OLCUC | ONLRET); + stbuf.c_lflag &= ~(ICANON | ISIG | IEXTEN | ECHO | ECHOE | ECHOK | ECHONL); +- stbuf.c_lflag &= ~(NOFLSH | XCASE | TOSTOP | ECHOPRT | ECHOCTL | ECHOKE); ++ stbuf.c_lflag &= ~(NOFLSH | TOSTOP | ECHOPRT | ECHOCTL | ECHOKE); + stbuf.c_cc[VMIN] = 1; + stbuf.c_cc[VTIME] = 0; + stbuf.c_cc[VEOF] = 1; +--- ModemManager-1.4.6/src/mm-port-serial.c ++++ ModemManager-1.4.6.new/src/mm-port-serial.c +@@ -455,7 +455,7 @@ + + stbuf.c_iflag &= ~(IGNCR | ICRNL | IUCLC | INPCK | IXON | IXANY ); + stbuf.c_oflag &= ~(OPOST | OLCUC | OCRNL | ONLCR | ONLRET); +- stbuf.c_lflag &= ~(ICANON | XCASE | ECHO | ECHOE | ECHONL); ++ stbuf.c_lflag &= ~(ICANON | ECHO | ECHOE | ECHONL); + stbuf.c_lflag &= ~(ECHO | ECHOE); + stbuf.c_cc[VMIN] = 1; + stbuf.c_cc[VTIME] = 0; |