From 568aa0cf8329293692e4249dabd94052533c050d Mon Sep 17 00:00:00 2001 From: Nathan Marley Date: Sun, 15 Sep 2019 21:00:49 -0300 Subject: Add OpenSSL termios fix for musl libc --- .../0001-Add-OpenSSL-termios-fix-for-musl-libc.patch | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 depends/patches/openssl/0001-Add-OpenSSL-termios-fix-for-musl-libc.patch (limited to 'depends/patches') diff --git a/depends/patches/openssl/0001-Add-OpenSSL-termios-fix-for-musl-libc.patch b/depends/patches/openssl/0001-Add-OpenSSL-termios-fix-for-musl-libc.patch new file mode 100644 index 0000000000..003099bdc2 --- /dev/null +++ b/depends/patches/openssl/0001-Add-OpenSSL-termios-fix-for-musl-libc.patch @@ -0,0 +1,17 @@ +diff --git a/crypto/ui/ui_openssl.c b/crypto/ui/ui_openssl.c +index a38c758..d99edc2 100644 +--- a/crypto/ui/ui_openssl.c ++++ b/crypto/ui/ui_openssl.c +@@ -190,9 +190,9 @@ + # undef SGTTY + #endif + +-#if defined(linux) && !defined(TERMIO) +-# undef TERMIOS +-# define TERMIO ++#if defined(linux) ++# define TERMIOS ++# undef TERMIO + # undef SGTTY + #endif + -- cgit v1.2.3