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
3
3
$(package)_download_path =https://www.openssl.org/source
4
4
$(package)_file_name =$(package ) -$($(package ) _version) .tar.gz
5
5
$(package)_sha256_hash =8f9faeaebad088e772f4ef5e38252d472be4d878c6b3a2718c10a4fcebe7a41c
6
+ $(package)_patches =0001-Add-OpenSSL-termios-fix-for-musl-libc.patch
6
7
7
8
define $(package)_set_vars
8
9
$(package ) _config_env=AR="$($(package ) _ar) " RANLIB="$($(package ) _ranlib) " CC="$($(package ) _cc) "
@@ -60,6 +61,7 @@ $(package)_config_opts_i686_mingw32=mingw
60
61
endef
61
62
62
63
define $(package)_preprocess_cmds
64
+ patch -p1 < $($(package ) _patch_dir) /0001-Add-OpenSSL-termios-fix-for-musl-libc.patch && \
63
65
sed -i.old "/define DATE/d" util/mkbuildinf.pl && \
64
66
sed -i.old "s|engines apps test|engines|" Makefile.org
65
67
endef
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