Source: java-gnome
Version: 4.1.3-3
Severity: normal
Tags: patch
X-Debbugs-Cc: bren...@br.ibm.com
User: debian-powe...@lists.debian.org
Usertags: ppc64el


Dear Maintainer,

On ppc64el architecture, the java-gnome package FTBFS as the
"-client" option is not enabled.

The ppc64el version for openJDK does not implement '-client'
option, only '-server' is available (which is the default).

The patch checks for the architecture and removes the '-client'
option for ppc64le arch, allowing the package to build correctly.

Thanks for considering the patch!

Thanks and regards,
Brahadambal


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: ppc64el (ppc64le)

Kernel: Linux 3.16-trunk-powerpc64le (SMP w/32 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
diff -ruN java-gnome-4.1.3.orig/configure java-gnome-4.1.3/configure
--- java-gnome-4.1.3.orig/configure	2014-10-30 05:46:34.000000000 +0000
+++ java-gnome-4.1.3/configure	2014-10-30 05:46:54.000000000 +0000
@@ -359,7 +359,8 @@
 	my $item = $_[1];
 	my $program = $_[2];
 	my $args = $_[3];
-
+	my $arch;
+	
 	chomp $program;
 	if ( ! -f "$program") {
 		$$scalarref = "";
@@ -395,6 +396,12 @@
 		return
 	}
 
+	$arch = `uname -m 2>/dev/null`;
+	chomp $arch;
+	if($arch eq "ppc64le") {
+		$args =~ s/-client //;
+	}
+
 	$output = `$program $args Hello 2>/dev/null`;
 	chomp $output;
__
This is the maintainer address of Debian's Java team
<http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>. 
Please use
debian-j...@lists.debian.org for discussions and questions.

Reply via email to