aboutsummaryrefslogtreecommitdiffstats
path: root/package/libs/openssl/patches/210-termios_fix.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-02-24 21:09:03 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-02-24 21:09:03 +0000
commitef48b885cf19432985ba975edb1645c865e52047 (patch)
treec52ed54096d69c2fc60890f5f509d080a46468d6 /package/libs/openssl/patches/210-termios_fix.patch
parentd67d2eac0ca5430b5f78c28d1bb1ef98c6a581aa (diff)
downloadmaster-187ad058-ef48b885cf19432985ba975edb1645c865e52047.tar.gz
master-187ad058-ef48b885cf19432985ba975edb1645c865e52047.tar.bz2
master-187ad058-ef48b885cf19432985ba975edb1645c865e52047.zip
openssl: use termios instead of termio
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39748 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/libs/openssl/patches/210-termios_fix.patch')
-rw-r--r--package/libs/openssl/patches/210-termios_fix.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/libs/openssl/patches/210-termios_fix.patch b/package/libs/openssl/patches/210-termios_fix.patch
new file mode 100644
index 0000000000..f14960ca33
--- /dev/null
+++ b/package/libs/openssl/patches/210-termios_fix.patch
@@ -0,0 +1,11 @@
+--- a/crypto/ui/ui_openssl.c
++++ b/crypto/ui/ui_openssl.c
+@@ -190,7 +190,7 @@
+ # undef SGTTY
+ #endif
+
+-#if defined(linux) && !defined(TERMIO)
++#if defined(linux) && !defined(TERMIO) && !defined(TERMIOS)
+ # undef TERMIOS
+ # define TERMIO
+ # undef SGTTY