[packages/openjdk8] protos.patch: Missing includes / prototypes
jajcus
jajcus at pld-linux.org
Wed Aug 10 11:11:30 CEST 2016
commit 4f9ad6d41e02546e964d6f9d702295eb0fee51c4
Author: Jacek Konieczny <jajcus at jajcus.net>
Date: Wed Aug 10 11:08:54 2016 +0200
protos.patch: Missing includes / prototypes
openjdk8.spec | 2 ++
protos.patch | 24 ++++++++++++++++++++++++
2 files changed, 26 insertions(+)
---
diff --git a/openjdk8.spec b/openjdk8.spec
index 54bafbd..e522979 100644
--- a/openjdk8.spec
+++ b/openjdk8.spec
@@ -57,6 +57,7 @@ Patch5: system-libpng.patch
Patch6: system-lcms.patch
Patch7: system-pcsclite.patch
Patch8: x32.patch
+Patch9: protos.patch
URL: http://openjdk.java.net/
BuildRequires: /usr/bin/jar
BuildRequires: alsa-lib-devel
@@ -423,6 +424,7 @@ done
%patch6 -p1
%patch7 -p1
%patch8 -p1
+%patch9 -p1
%build
# Make sure we have /proc mounted - otherwise idlc will fail later.
diff --git a/protos.patch b/protos.patch
new file mode 100644
index 0000000..251a48a
--- /dev/null
+++ b/protos.patch
@@ -0,0 +1,24 @@
+--- jdk8u-jdk8u92-b31/jdk/src/share/native/sun/misc/URLClassPath.c.orig 2016-07-29 15:33:17.499988085 +0200
++++ jdk8u-jdk8u92-b31/jdk/src/share/native/sun/misc/URLClassPath.c 2016-07-29 15:35:59.085075633 +0200
+@@ -24,6 +24,7 @@
+ */
+
+ #include <string.h>
++#include <stdlib.h>
+
+ #include "jni.h"
+ #include "jni_util.h"
+@@ -36,6 +37,12 @@
+ extern char*
+ getUTF(JNIEnv *env, jstring str, char* localBuf, int bufSize);
+
++extern JNIEXPORT jboolean
++VerifyClassname(char *name, jboolean allowArrayClass);
++
++extern JNIEXPORT jboolean
++VerifyFixClassname(char *name);
++
+
+ JNIEXPORT jboolean JNICALL
+ Java_sun_misc_URLClassPath_knownToNotExist0(JNIEnv *env, jclass cls, jobject loader,
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/openjdk8.git/commitdiff/4e46d1234e51e5dbf8a6406e11152134769cbd7b
More information about the pld-cvs-commit
mailing list