File: armhf-java.patch

package info (click to toggle)
gridengine 8.1.9%2Bdfsg-13.2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 57,848 kB
  • sloc: ansic: 432,690; java: 87,068; cpp: 31,958; sh: 29,445; jsp: 7,757; perl: 6,336; xml: 5,828; makefile: 4,705; csh: 3,934; ruby: 2,221; tcl: 1,676; lisp: 669; yacc: 519; python: 503; lex: 361; javascript: 200
file content (19 lines) | stat: -rw-r--r-- 811 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: Fix FTBFS on armhf due to OpenJDK VM changes
Author: Adam Barratt <adam@adam-barratt.org.uk>
Bug-Debian: https://bugs.debian.org/903406
Forwarded: no
Last-Update: 2018-07-09
--- a/source/aimk.orig	2018-07-09 14:23:01.642562774 +0000
+++ b/source/aimk	2018-07-09 14:25:39.495856441 +0000
@@ -2002,7 +2002,10 @@
              set JAVA_LIB_ARCH = ""
              echo "WARNING: no JAVA_LIB_ARCH for architecture $buildarch"
       endsw
-      if ( "$JAVA_LIB_ARCH" != "") then
+      if ( "$buildarch" == "lx-armhf") then
+        # Debian/armhf doesn't ship a "server" VM
+        set JAVA_LFLAGS="-L$JAVA_HOME/jre/lib/$JAVA_LIB_ARCH/client"
+      else if ( "$JAVA_LIB_ARCH" != "") then
         set JAVA_LFLAGS="-L$JAVA_HOME/jre/lib/$JAVA_LIB_ARCH/server"
       else
         set JAVA_LFLAGS=""