Hello community,

here is the log from the commit of package swipl for openSUSE:Factory checked 
in at 2012-10-17 08:09:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/swipl (Old)
 and      /work/SRC/openSUSE:Factory/.swipl.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "swipl", Maintainer is ""

Changes:
--------
--- /work/SRC/openSUSE:Factory/swipl/swipl.changes      2012-06-28 
17:00:34.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.swipl.new/swipl.changes 2012-10-17 
08:09:22.000000000 +0200
@@ -1,0 +2,5 @@
+Fri Oct  5 23:14:46 UTC 2012 - [email protected]
+
+- fix jpl build on powerpc64 (swipl-ppc64.patch) 
+
+-------------------------------------------------------------------

New:
----
  swipl-ppc64.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ swipl.spec ++++++
--- /var/tmp/diff_new_pack.3PMv7E/_old  2012-10-17 08:09:23.000000000 +0200
+++ /var/tmp/diff_new_pack.3PMv7E/_new  2012-10-17 08:09:23.000000000 +0200
@@ -45,6 +45,7 @@
 Patch1:         pkgconfig.patch
 # This is now upstream
 Patch2:         internal_fix.patch
+Patch3:         swipl-ppc64.patch
 Url:            http://www.swi-prolog.org
 Provides:       swi-prolog = %{version}
 Provides:       swi_pl = %{version}
@@ -70,6 +71,7 @@
 %patch0 -p 1
 %patch1 -p 1
 %patch2 -p 1
+%patch3 -p 1
 
 %build
 cp build.templ build

++++++ swipl-ppc64.patch ++++++
Index: pl-5.10.2/packages/jpl/ac/ac_jni_include_dirs.m4
===================================================================
--- pl-5.10.2.orig/packages/jpl/ac/ac_jni_include_dirs.m4
+++ pl-5.10.2/packages/jpl/ac/ac_jni_include_dirs.m4
@@ -78,6 +78,16 @@ case "$host_cpu" in
                        _JNI_LIBDIRS=""
                esac
                ;;
+       powerpc64)
+               case "$host_os" in
+               linux*)
+                       _JNI_LIBDIRS="lib/ppc64 bin"
+                       _JNI_LIBSUBDIRS="server classic"
+               ;;
+               *)
+                       _JNI_LIBDIRS=""
+               esac
+               ;;
        *)      
                # Fallback option should work on all architectures except
                # amd64 and powerpc which are special cased above.
Index: pl-5.10.2/packages/jpl/configure
===================================================================
--- pl-5.10.2.orig/packages/jpl/configure
+++ pl-5.10.2/packages/jpl/configure
@@ -5213,6 +5213,16 @@ case "$host_cpu" in
                        _JNI_LIBDIRS=""
                esac
                ;;
+       powerpc64)
+               case "$host_os" in
+               linux*)
+                       _JNI_LIBDIRS="lib/ppc64 bin"
+                       _JNI_LIBSUBDIRS="server classic"
+                       ;;
+               *)
+                       _JNI_LIBDIRS=""
+               esac
+               ;;
        *)
                # Fallback option should work on all architectures except
                # amd64 and powerpc which are special cased above.
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to