diff --git a/gcc10.patch b/gcc10.patch index 61c6513..c9aeccd 100644 --- a/gcc10.patch +++ b/gcc10.patch @@ -1,3 +1,16 @@ +diff -urEbwB openjdk.orig/jdk/src/share/native/sun/security/jgss/wrapper/GSSLibStub.c openjdk/jdk/src/share/native/sun/security/jgss/wrapper/GSSLibStub.c +--- openjdk.orig/jdk/src/share/native/sun/security/jgss/wrapper/GSSLibStub.c 2020-06-26 09:42:58.999803937 +0200 ++++ openjdk/jdk/src/share/native/sun/security/jgss/wrapper/GSSLibStub.c 2020-06-26 09:59:50.543324257 +0200 +@@ -29,6 +29,9 @@ + #include "jlong.h" + #include + ++/* global GSS function table */ ++GSS_FUNCTION_TABLE_PTR ftab; ++ + /* Constants for indicating what type of info is needed for inquiries */ + const int TYPE_CRED_NAME = 10; + const int TYPE_CRED_TIME = 11; diff -urEbwB openjdk.orig/jdk/src/solaris/native/sun/security/jgss/wrapper/NativeFunc.h openjdk/jdk/src/solaris/native/sun/security/jgss/wrapper/NativeFunc.h --- openjdk.orig/jdk/src/solaris/native/sun/security/jgss/wrapper/NativeFunc.h 2020-06-26 09:42:59.047804301 +0200 +++ openjdk/jdk/src/solaris/native/sun/security/jgss/wrapper/NativeFunc.h 2020-06-26 09:43:05.211851045 +0200