ruby: fix build with LibreSSL over v3.5
authorZiMing Mo <msylgj@immortalwrt.org>
Fri, 22 Jul 2022 19:28:14 +0000 (03:28 +0800)
committerRosen Penev <rosenp@gmail.com>
Sun, 24 Jul 2022 02:19:12 +0000 (19:19 -0700)
commitfd1e3e289087aa9b55c3d35c4dea4d4706034fa5
tree45504292be188f5aab5f061330ec28d55dcbaa7b
parent6544b67f1f2cb8fe806c67ef7e1a69a3ed138546
ruby: fix build with LibreSSL over v3.5

LibreSSL 3.5 and later provide and need to use
PEM_write_bio_PrivateKey_traditional()

upstream commit:
https://github.com/ruby/openssl/commit/e25fb0d0d86da5a9398ebdc9216b2ea89f80fa3d
https://github.com/ruby/openssl/commit/b02815271fcc295cb8b07ef740684b88a10f2760

Signed-off-by: ZiMing Mo <msylgj@immortalwrt.org>
lang/ruby/patches/001-fix-build-with-libressl-3.5.patch [new file with mode: 0644]
lang/ruby/patches/002-fix-operator-precedence.patch [new file with mode: 0644]