Commit 9e0c0189 authored by Simon F's avatar Simon F

community/openjdk8: add a font to the JRE package

parent e2eab9a1
Pipeline #54211 failed with stages
in 59 minutes and 23 seconds
......@@ -6,7 +6,7 @@ _icedteaver=3.16.0
# pkgver is <JDK version>.<JDK update>.<JDK build>
# Check https://icedtea.classpath.org/wiki/Main_Page when updating!
pkgver=8.252.09
pkgrel=1
pkgrel=2
pkgdesc="OpenJDK 8 provided by IcedTea"
url="https://icedtea.classpath.org/"
# no bootstrap JDK on mips
......@@ -95,6 +95,7 @@ source="https://icedtea.classpath.org/download/source/icedtea-$_icedteaver.tar.x
icedtea-jdk-includes.patch
icedtea-jdk-close-fds.patch
icedtea-autoconf-config.patch
icedtea-gcc10-fix-compile.patch
"
builddir="$srcdir/icedtea-$_icedteaver"
......@@ -298,6 +299,7 @@ jrelib() {
jre() {
pkgdesc="OpenJDK 8 Java Runtime"
depends="ttf-dejavu"
local file dir
mkdir -p "$subpkgdir"
......@@ -369,4 +371,5 @@ b135991c76b0db8fa7c363e0903624668e11eda7b54a943035c214aa4d7fc8c3e8110ed200edcec8
3b01de971f64f082d3e289cf337e635ef001381e8ca427a77baa9c52c7ba423889f57665779ca5b3c8bcefb8feacbea31dfaac580c969a4f061439069ee34aae icedtea-jdk-musl.patch
974fb54532b7e7d738f4278187fc6bd9f9b2d99866b94f68a617ee4911c89a3b8cc41ecfdcaefecf9157492d006b1844b6b0b41ac4209d84f9e8d13c9e485dd3 icedtea-jdk-includes.patch
26d33ea5c55f89beebb0c05cc520e839439285f80d8ffca66ee9ef833ba65332dd7848de0b1a7e040d2eed494410d446729db72b09d8a23b6eea55749b8f6f54 icedtea-jdk-close-fds.patch
662d662d0a7a84be2978e921317589f212f3ba3b7629527ba0f1140b5ac4c1024893e0ed176211688ed1a4505968c4befc841ed57ffcdbb9d355c2cb0571b167 icedtea-autoconf-config.patch"
662d662d0a7a84be2978e921317589f212f3ba3b7629527ba0f1140b5ac4c1024893e0ed176211688ed1a4505968c4befc841ed57ffcdbb9d355c2cb0571b167 icedtea-autoconf-config.patch
2c9b210a7a51abd7f4b184a9da5ecacbd17dea91b05d7781aa4f4bc3656e588418c75c18ccc148fa115acfc6c8e1c5ffc8abea81357f54813db5f3604bdfed7c icedtea-gcc10-fix-compile.patch"
This patch fixes compilation with GCC10. Slightly modified so it can be applied.
Upstream: yes
Upstream-Patch: https://hg.openjdk.java.net/jdk/jdk/rev/9e54ea7d9cd9
Upstream-Patch: https://hg.openjdk.java.net/jdk/jdk/rev/6925fca95959
Upstream-Patch: https://hg.openjdk.java.net/jdk/jdk/rev/8e6fa89397ca
Upstream-Issue: https://bugs.openjdk.java.net/browse/JDK-8235903
--- openjdk/jdk/src/solaris/native/sun/security/jgss/wrapper/NativeFunc.c
+++ openjdk/jdk/src/solaris/native/sun/security/jgss/wrapper/NativeFunc.c
@@ -28,6 +28,9 @@
#include <dlfcn.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";
--- openjdk/jdk/src/solaris/native/sun/security/jgss/wrapper/NativeFunc.h
+++ openjdk/jdk/src/solaris/native/sun/security/jgss/wrapper/NativeFunc.h
@@ -265,6 +265,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
--- openjdk/jdk/src/solaris/native/java/lang/childproc.c
+++ openjdk/jdk/src/solaris/native/java/lang/childproc.c
@@ -33,6 +33,7 @@
#include "childproc.h"
+const char * const *parentPathv;
ssize_t
restartableWrite(int fd, const void *buf, size_t count)
--- openjdk/jdk/src/solaris/native/java/lang/childproc.h
+++ openjdk/jdk/src/solaris/native/java/lang/childproc.h
@@ -119,7 +119,7 @@
* The cached and split version of the JDK's effective PATH.
* (We don't support putenv("PATH=...") in native code)
*/
-const char * const *parentPathv;
+extern const char * const *parentPathv;
ssize_t restartableWrite(int fd, const void *buf, size_t count);
int restartableDup2(int fd_from, int fd_to);
--- openjdk/jdk/src/solaris/native/sun/nio/ch/sctp/Sctp.h
+++ openjdk/jdk/src/solaris/native/sun/nio/ch/sctp/Sctp.h
@@ -332,12 +332,12 @@
#define nio_sctp_bindx sctp_bindx
#define nio_sctp_peeloff sctp_peeloff
#else
-sctp_getladdrs_func* nio_sctp_getladdrs;
-sctp_freeladdrs_func* nio_sctp_freeladdrs;
-sctp_getpaddrs_func* nio_sctp_getpaddrs;
-sctp_freepaddrs_func* nio_sctp_freepaddrs;
-sctp_bindx_func* nio_sctp_bindx;
-sctp_peeloff_func* nio_sctp_peeloff;
+extern sctp_getladdrs_func* nio_sctp_getladdrs;
+extern sctp_freeladdrs_func* nio_sctp_freeladdrs;
+extern sctp_getpaddrs_func* nio_sctp_getpaddrs;
+extern sctp_freepaddrs_func* nio_sctp_freepaddrs;
+extern sctp_bindx_func* nio_sctp_bindx;
+extern sctp_peeloff_func* nio_sctp_peeloff;
#endif
jboolean loadSocketExtensionFuncs(JNIEnv* env);
--- openjdk/jdk/src/solaris/native/sun/nio/ch/sctp/SctpNet.c
+++ openjdk/jdk/src/solaris/native/sun/nio/ch/sctp/SctpNet.c
@@ -46,6 +46,13 @@
static const char* nativeSctpLib = "libsctp.so.1";
static jboolean funcsLoaded = JNI_FALSE;
+sctp_getladdrs_func* nio_sctp_getladdrs;
+sctp_freeladdrs_func* nio_sctp_freeladdrs;
+sctp_getpaddrs_func* nio_sctp_getpaddrs;
+sctp_freepaddrs_func* nio_sctp_freepaddrs;
+sctp_bindx_func* nio_sctp_bindx;
+sctp_peeloff_func* nio_sctp_peeloff;
+
JNIEXPORT jint JNICALL JNI_OnLoad
(JavaVM *vm, void *reserved) {
return JNI_VERSION_1_2;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment