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
commit9a97bfcc2bfe32819ce22d1f73360020e854efe6 (patch)
tree37d429007152dc6163befa7f2746b1e209e8d009 /package/libs/openssl/patches/210-termios_fix.patch
parentb2ef0616ba79dea9da193aa88bb758a51f3c10ca (diff)
downloadupstream-9a97bfcc2bfe32819ce22d1f73360020e854efe6.tar.gz
upstream-9a97bfcc2bfe32819ce22d1f73360020e854efe6.tar.bz2
upstream-9a97bfcc2bfe32819ce22d1f73360020e854efe6.zip
openssl: use termios instead of termio
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 39748
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