summaryrefslogtreecommitdiff
path: root/java/openjdk8
diff options
context:
space:
mode:
Diffstat (limited to 'java/openjdk8')
-rw-r--r--java/openjdk8/files/patch-jdk_src_share_bin_splashscreen__stubs.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/java/openjdk8/files/patch-jdk_src_share_bin_splashscreen__stubs.c b/java/openjdk8/files/patch-jdk_src_share_bin_splashscreen__stubs.c
new file mode 100644
index 000000000000..80019e780130
--- /dev/null
+++ b/java/openjdk8/files/patch-jdk_src_share_bin_splashscreen__stubs.c
@@ -0,0 +1,16 @@
+--- jdk/src/share/bin/splashscreen_stubs.c.orig 2022-07-31 16:21:00 UTC
++++ jdk/src/share/bin/splashscreen_stubs.c
+@@ -61,11 +61,11 @@ int DoSplashLoadMemory(void* pdata, int size) {
+ #define INVOKEV(name) _INVOKE(name, ,;)
+
+ int DoSplashLoadMemory(void* pdata, int size) {
+- INVOKE(SplashLoadMemory, NULL)(pdata, size);
++ INVOKE(SplashLoadMemory, 0)(pdata, size);
+ }
+
+ int DoSplashLoadFile(const char* filename) {
+- INVOKE(SplashLoadFile, NULL)(filename);
++ INVOKE(SplashLoadFile, 0)(filename);
+ }
+
+ void DoSplashInit(void) {