mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
* openjdk8-powerpc: new port to support modern Java on PowerPC * openjdk8-powerpc: non-functional: use .xz source * openjdk8-powerpc: use a version-specific URL Co-authored-by: Nils Breunese <nils@breun.nl> * openjdk8-powerpc: install into MacPorts prefix * openjdk8-powerpc: non-functional: change way to set datamodel * openjdk8-powerpc: use openjdk-sources.osci.io for livecheck --------- Co-authored-by: Nils Breunese <nils@breun.nl>
23 lines
808 B
Diff
23 lines
808 B
Diff
From f741717968603ed2aaa6f380574a8ff6cb801806 Mon Sep 17 00:00:00 2001
|
|
From: Sergey Fedorov <vital.had@gmail.com>
|
|
Date: Sun, 7 Jul 2024 19:30:01 +0800
|
|
Subject: [PATCH] java_md_macosx.c: define preferredJVM
|
|
|
|
---
|
|
jdk/src/macosx/bin/java_md_macosx.c | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
diff --git jdk/src/macosx/bin/java_md_macosx.c jdk/src/macosx/bin/java_md_macosx.c
|
|
index 6aa0eb588a..854d848f81 100644
|
|
--- jdk/src/macosx/bin/java_md_macosx.c
|
|
+++ jdk/src/macosx/bin/java_md_macosx.c
|
|
@@ -228,6 +228,8 @@ static InvocationFunctions *GetExportedJNIFunctions() {
|
|
preferredJVM = "client";
|
|
#elif defined(__x86_64__)
|
|
preferredJVM = "server";
|
|
+#elif defined(__arm64__) || defined(__POWERPC__)
|
|
+ preferredJVM = "server";
|
|
#else
|
|
#error "Unknown architecture - needs definition"
|
|
#endif
|