1
0
Fridrich Strba 2024-05-23 15:09:36 +00:00 committed by Git OBS Bridge
parent 1bd8df79a9
commit 481dc4f0ab
2 changed files with 15 additions and 0 deletions

View File

@ -123,6 +123,7 @@ Patch201: system-libjpeg.patch
Patch202: system-libpng.patch
Patch203: system-lcms.patch
Patch210: openj9-no-werror.patch
Patch211: openj9-openssl.patch
BuildRequires: alsa-lib-devel
BuildRequires: autoconf
BuildRequires: automake
@ -353,6 +354,7 @@ rm -rvf jdk/src/share/native/sun/java2d/cmm/lcms/lcms2*
%patch -P 203 -p1
%patch -P 210
%patch -P 211 -p1
%patch -P 1 -p1
%patch -P 2 -p1

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