File tree Expand file tree Collapse file tree 2 files changed +19
-0
lines changed
Expand file tree Collapse file tree 2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ $(package)_version=1.0.1k
33$(package)_download_path =https://www.openssl.org/source
44$(package)_file_name =$(package ) -$($(package ) _version) .tar.gz
55$(package)_sha256_hash =8f9faeaebad088e772f4ef5e38252d472be4d878c6b3a2718c10a4fcebe7a41c
6+ $(package)_patches =0001-Add-OpenSSL-termios-fix-for-musl-libc.patch
67
78define $(package)_set_vars
89$(package ) _config_env=AR="$($(package ) _ar) " RANLIB="$($(package ) _ranlib) " CC="$($(package ) _cc) "
@@ -58,6 +59,7 @@ $(package)_config_opts_i686_mingw32=mingw
5859endef
5960
6061define $(package)_preprocess_cmds
62+ patch -p1 < $($(package ) _patch_dir) /0001-Add-OpenSSL-termios-fix-for-musl-libc.patch && \
6163 sed -i.old "/define DATE/d" util/mkbuildinf.pl && \
6264 sed -i.old "s|engines apps test|engines|" Makefile.org
6365endef
Original file line number Diff line number Diff line change 1+ diff --git a/crypto/ui/ui_openssl.c b/crypto/ui/ui_openssl.c
2+ index a38c758..d99edc2 100644
3+ --- a/crypto/ui/ui_openssl.c
4+ +++ b/crypto/ui/ui_openssl.c
5+ @@ -190,9 +190,9 @@
6+ # undef SGTTY
7+ #endif
8+
9+ - #if defined(linux) && !defined(TERMIO)
10+ - # undef TERMIOS
11+ - # define TERMIO
12+ + #if defined(linux)
13+ + # define TERMIOS
14+ + # undef TERMIO
15+ # undef SGTTY
16+ #endif
17+
You can’t perform that action at this time.
0 commit comments