summarylogtreecommitdiffstats
path: root/bug_8238388.patch
diff options
context:
space:
mode:
authorMuflone2022-06-19 01:41:23 +0200
committerMuflone2022-06-19 01:41:23 +0200
commitcf2d32b9e678bb1b23da05c12c152de7e638d44e (patch)
tree8709e7d56b40655f1b8c6483ec79add8bf00d132 /bug_8238388.patch
parent5ebd22558daadb1043b8eeea1f0db7be2931e935 (diff)
downloadaur-java-14-openjdk.tar.gz
Updated package java-14-openjdk 14.0.2.u12-2
Diffstat (limited to 'bug_8238388.patch')
-rw-r--r--bug_8238388.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/bug_8238388.patch b/bug_8238388.patch
new file mode 100644
index 000000000000..63f156bff5c4
--- /dev/null
+++ b/bug_8238388.patch
@@ -0,0 +1,24 @@
+diff -Naur jdk12u-jdk-12.0.2+10.orig/src/java.security.jgss/share/native/libj2gss/NativeFunc.c jdk12u-jdk-12.0.2+10/src/java.security.jgss/share/native/libj2gss/NativeFunc.c
+--- jdk12u-jdk-12.0.2+10.orig/src/java.security.jgss/share/native/libj2gss/NativeFunc.c 2019-07-16 18:38:28.000000000 +0200
++++ jdk12u-jdk-12.0.2+10/src/java.security.jgss/share/native/libj2gss/NativeFunc.c 2021-11-28 17:26:14.142894977 +0100
+@@ -27,6 +27,9 @@
+ #include <stdlib.h>
+ #include "NativeFunc.h"
+
++/* global GSS function table */
++GSS_FUNCTION_TABLE_PTR ftab;
++
+ /* standard GSS method names (ordering is from mapfile) */
+ static const char RELEASE_NAME[] = "gss_release_name";
+ static const char IMPORT_NAME[] = "gss_import_name";
+diff -Naur jdk12u-jdk-12.0.2+10.orig/src/java.security.jgss/share/native/libj2gss/NativeFunc.h jdk12u-jdk-12.0.2+10/src/java.security.jgss/share/native/libj2gss/NativeFunc.h
+--- jdk12u-jdk-12.0.2+10.orig/src/java.security.jgss/share/native/libj2gss/NativeFunc.h 2019-07-16 18:38:28.000000000 +0200
++++ jdk12u-jdk-12.0.2+10/src/java.security.jgss/share/native/libj2gss/NativeFunc.h 2021-11-28 17:26:32.046873805 +0100
+@@ -277,6 +277,6 @@
+ typedef GSS_FUNCTION_TABLE *GSS_FUNCTION_TABLE_PTR;
+
+ /* global GSS function table */
+-GSS_FUNCTION_TABLE_PTR ftab;
++extern GSS_FUNCTION_TABLE_PTR ftab;
+
+ #endif