File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ PCRE="$(curl -s 'https://ftp.pcre.org/pub/pcre/' | grep -ioP 'pcre-(\d+\.)+\d+'
3535PCRE=" ${PCRE:- pcre-8.43} "
3636echo $PCRE
3737OPENSSL=" $( curl -s ' https://www.openssl.org/source/' | grep -ioP ' openssl-(\d+\.)+[a-z\d]+' | sort -ruV | head -1) "
38- OPENSSL=" ${OPENSSL:- openssl-1.1.1b } "
38+ OPENSSL=" ${OPENSSL:- openssl-1.1.1d } "
3939echo $OPENSSL
4040
4141# clone and patch nginx
@@ -68,6 +68,11 @@ tar -xf "${PCRE}.tar.bz2"
6868wget -c -nv " https://www.openssl.org/source/${OPENSSL} .tar.gz"
6969tar -xf " ${OPENSSL} .tar.gz"
7070
71+ # dirty workaround for openssl-1.1.1d
72+ if [ " ${OPENSSL} " = " openssl-1.1.1d" ]; then
73+ sed -i ' s/return return 0;/return 0;/' openssl-1.1.1d/crypto/threads_none.c
74+ fi
75+
7176# make changes
7277make -f docs/GNUmakefile changes
7378mv -f tmp/* /CHANGES* ../docs/
You can’t perform that action at this time.
0 commit comments