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

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