This commit is contained in:
@@ -112,6 +112,8 @@ Patch4: libdwarf-fix.patch
|
||||
Patch5: multiple-pkcs11-library-init.patch
|
||||
# Fix narrowing conversion error
|
||||
Patch6: openj9-no-narrowing.patch
|
||||
# Fix build with older version of openssl
|
||||
Patch7: openj9-openssl.patch
|
||||
# Fix: implicit-pointer-decl
|
||||
Patch13: implicit-pointer-decl.patch
|
||||
#
|
||||
@@ -364,6 +366,7 @@ rm -rvf src/java.desktop/share/native/liblcms/lcms2*
|
||||
%patch -P 4 -p1
|
||||
%patch -P 5 -p1
|
||||
%patch -P 6 -p1
|
||||
%patch -P 7 -p1
|
||||
%patch -P 13 -p1
|
||||
|
||||
%if %{with_system_pcsc}
|
||||
|
13
openj9-openssl.patch
Normal file
13
openj9-openssl.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
--- a/openj9/runtime/compiler/runtime/Listener.cpp
|
||||
+++ b/openj9/runtime/compiler/runtime/Listener.cpp
|
||||
@@ -44,6 +44,10 @@
|
||||
#include "runtime/CompileService.hpp"
|
||||
#include "runtime/Listener.hpp"
|
||||
|
||||
+#ifndef SSL_R_UNEXPECTED_EOF_WHILE_READING
|
||||
+#define SSL_R_UNEXPECTED_EOF_WHILE_READING 294
|
||||
+#endif
|
||||
+
|
||||
static bool
|
||||
handleOpenSSLConnectionError(int connfd, SSL *&ssl, BIO *&bio, const char *errMsg, int ret, TR::CompilationInfo *compInfo)
|
||||
{
|
Reference in New Issue
Block a user