Blame SOURCES/java-1.8.0-openjdk-rh1191652-jdk.patch

045ef6
diff -r 1fe56343ecc8 make/lib/SoundLibraries.gmk
045ef6
--- openjdk/jdk/make/lib/SoundLibraries.gmk	Tue Jan 12 21:01:12 2016 +0000
045ef6
+++ openjdk/jdk/make/lib/SoundLibraries.gmk	Wed Jan 13 00:18:02 2016 +0000
045ef6
@@ -140,6 +140,10 @@
045ef6
        LIBJSOUND_CFLAGS += -DX_ARCH=X_PPC64
045ef6
   endif
045ef6
 
045ef6
+  ifeq ($(OPENJDK_TARGET_CPU), ppc64le)
045ef6
+       LIBJSOUND_CFLAGS += -DX_ARCH=X_PPC64LE
045ef6
+  endif
045ef6
+
045ef6
   ifeq ($(OPENJDK_TARGET_CPU), aarch64)
045ef6
 	LIBJSOUND_CFLAGS += -DX_ARCH=X_AARCH64
045ef6
   endif
045ef6
diff -r 1fe56343ecc8 src/share/native/com/sun/media/sound/SoundDefs.h
045ef6
--- openjdk/jdk/src/share/native/com/sun/media/sound/SoundDefs.h	Tue Jan 12 21:01:12 2016 +0000
045ef6
+++ openjdk/jdk/src/share/native/com/sun/media/sound/SoundDefs.h	Wed Jan 13 00:18:02 2016 +0000
045ef6
@@ -44,6 +44,8 @@
045ef6
 #define X_ARM           7
045ef6
 #define X_PPC           8
045ef6
 #define X_AARCH64	9
045ef6
+#define X_PPC64        10
045ef6
+#define X_PPC64LE      11
045ef6
 
045ef6
 // **********************************
045ef6
 // Make sure you set X_PLATFORM and X_ARCH defines correctly.
045ef6
diff -r 1fe56343ecc8 src/solaris/bin/ppc64le/jvm.cfg
045ef6
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
045ef6
+++ openjdk/jdk/src/solaris/bin/ppc64le/jvm.cfg	Wed Jan 13 00:18:02 2016 +0000
045ef6
@@ -0,0 +1,33 @@
045ef6
+# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
045ef6
+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
045ef6
+#
045ef6
+# This code is free software; you can redistribute it and/or modify it
045ef6
+# under the terms of the GNU General Public License version 2 only, as
045ef6
+# published by the Free Software Foundation.  Oracle designates this
045ef6
+# particular file as subject to the "Classpath" exception as provided
045ef6
+# by Oracle in the LICENSE file that accompanied this code.
045ef6
+#
045ef6
+# This code is distributed in the hope that it will be useful, but WITHOUT
045ef6
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
045ef6
+# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
045ef6
+# version 2 for more details (a copy is included in the LICENSE file that
045ef6
+# accompanied this code).
045ef6
+#
045ef6
+# You should have received a copy of the GNU General Public License version
045ef6
+# 2 along with this work; if not, write to the Free Software Foundation,
045ef6
+# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
045ef6
+#
045ef6
+# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
045ef6
+# or visit www.oracle.com if you need additional information or have any
045ef6
+# questions.
045ef6
+#
045ef6
+# List of JVMs that can be used as an option to java, javac, etc.
045ef6
+# Order is important -- first in this list is the default JVM.
045ef6
+# NOTE that this both this file and its format are UNSUPPORTED and
045ef6
+# WILL GO AWAY in a future release.
045ef6
+#
045ef6
+# You may also select a JVM in an arbitrary location with the
045ef6
+# "-XXaltjvm=<jvm_dir>" option, but that too is unsupported
045ef6
+# and may not be available in a future release.
045ef6
+#
045ef6
+-server KNOWN