File: libjvm.so-for-zero-build.patch

package info (click to toggle)
r-base 4.5.0-3
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 112,844 kB
  • sloc: ansic: 291,174; fortran: 111,889; javascript: 14,798; yacc: 6,154; sh: 5,689; makefile: 5,242; tcl: 4,562; perl: 963; objc: 791; f90: 758; asm: 258; java: 31; sed: 1
file content (21 lines) | stat: -rw-r--r-- 899 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Description: Add "${boot_path}/zero" for OpenJDK zero build. 
 .
 r-base (4.5.0-1+loong64.1) unstable; urgency=medium
 .
   * src/scripts/javareconf.in: Add "${boot_path}/zero" for OpenJDK zero build.
Author: Dandan Zhang <zhangdandan@loongson.cn>

---
Last-Update: 2025-04-17

--- r-base-4.5.0.orig/src/scripts/javareconf.in
+++ r-base-4.5.0/src/scripts/javareconf.in
@@ -226,7 +226,7 @@ if test "${JAVA_LIBS}" = '~autodetect~';
 	if test ${has_libjvm} = no; then
 	    boot_path=`"$JAVA" -classpath "${tools_classpath}" getsp sun.boot.library.path| ${SED-sed} -e 's/:$//' -e 's/^://'`
 	    if test -n "${boot_path}"; then
-		for dir in "${boot_path}" "${boot_path}/client" "${boot_path}/server"; do
+		for dir in "${boot_path}" "${boot_path}/client" "${boot_path}/server" "${boot_path}/zero"; do
 		    if test -f "$dir/libjvm${DYLIB_EXT}"; then
 			has_libjvm=yes
 			java_library_path="${dir}"