aboutsummaryrefslogtreecommitdiff
path: root/depends/patches
diff options
context:
space:
mode:
authorNathan Marley <nathan.marley@gmail.com>2019-09-15 21:00:49 -0300
committerNathan Marley <nathan.marley@gmail.com>2019-09-20 14:47:06 -0300
commit568aa0cf8329293692e4249dabd94052533c050d (patch)
tree01ad65c5c4ef6af25272a1dcbb940e0e2c50f17f /depends/patches
parentf8b0b190aa9d13e93ebfe34b5655dbe8ed8df3d3 (diff)
downloadbitcoin-568aa0cf8329293692e4249dabd94052533c050d.tar.xz
Add OpenSSL termios fix for musl libc
Diffstat (limited to 'depends/patches')
-rw-r--r--depends/patches/openssl/0001-Add-OpenSSL-termios-fix-for-musl-libc.patch17
1 files changed, 17 insertions, 0 deletions
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
+