File: 06_disable_java_check.patch

package info (click to toggle)
java-gnome 4.1.3-6
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 9,596 kB
  • ctags: 7,304
  • sloc: java: 27,001; ansic: 4,518; perl: 1,656; python: 1,187; makefile: 140
file content (15 lines) | stat: -rw-r--r-- 534 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: Skips the verification of the Java runtime
Author: Emmanuel Bourg <ebourg@apache.org>
Forwarded: no
Bug-Debian: https://bugs.debian.org/851839
--- a/configure
+++ b/configure
@@ -1607,7 +1607,7 @@
 		$java_candidate = which("java");
 		$vendor = "System";
 	}
-	check_runtime($java, "$vendor java VM", $java_candidate, "-client -ea");
+	$java = "/usr/lib/jvm/default-java/bin/java";
 
 	# check gij (the bytecode interpreter from the GCJ project). In Debian
 	# and Ubuntu the default version is provided by package gij.