2024-05-23 15:35:27 +00:00
committed by Git OBS Bridge
parent 20c29fc5f6
commit 5f6c91bcde
2 changed files with 16 additions and 0 deletions

View File

@@ -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
View 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)
{