ModemManager: portability patch from Alpine.
This commit is contained in:
parent
3e9b2ba731
commit
99f32e9298
|
@ -0,0 +1,35 @@
|
|||
## http://man7.org/linux/man-pages/man3/termios.3.html
|
||||
## XCASE (not in POSIX; not supported under Linux)
|
||||
--- libqcdm/src/com.c
|
||||
+++ 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;
|
||||
--- libwmc/src/com.c
|
||||
+++ 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;
|
||||
--- src/mm-port-serial.c
|
||||
+++ 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;
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'ModemManager'
|
||||
pkgname=ModemManager
|
||||
version=1.4.8
|
||||
revision=1
|
||||
revision=2
|
||||
build_options="gir systemd"
|
||||
build_style=gnu-configure
|
||||
configure_args="--disable-static --sbindir=/usr/bin
|
||||
|
|
Loading…
Reference in New Issue