Source: swi-prolog
Version: 6.6.6-1
Severity: normal
Tags: patch
User: debian-powe...@lists.debian.org
Usertags: ppc64el

Dear Maintainer,

There is already a patch within debian/patches of source package swi-prolog 
that attempts to
set _JNI_LIB{DIRS,SUBDIRS} for ppc64el.
However, the host_cpu should be powerpc64le rather than powerpc64el for the 
path. So it fails
to build from source.
The patch attached makes that litle modification so the package builds 
succesfully.

Thanks and regards.
Fernando


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

Kernel: Linux 3.13-1-powerpc64le (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru swi-prolog-6.6.6/debian/patches/java-fixes.diff swi-prolog-6.6.6/debian/patches/java-fixes.diff
--- swi-prolog-6.6.6/debian/patches/java-fixes.diff	2014-06-10 20:19:56.000000000 +0000
+++ swi-prolog-6.6.6/debian/patches/java-fixes.diff	2014-07-14 19:34:31.000000000 +0000
@@ -8,7 +8,7 @@
 +		_JNI_LIBDIRS="lib/ppc64"
 +		_JNI_LIBSUBDIRS="server"
 +		;;
-+	powerpc64el)
++	powerpc64le)
 +		_JNI_LIBDIRS="lib/ppc64le"
 +		_JNI_LIBSUBDIRS="server"
 +		;;

Reply via email to