Hello community,

here is the log from the commit of package cimple for openSUSE:Factory checked 
in at 2014-07-31 21:50:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cimple (Old)
 and      /work/SRC/openSUSE:Factory/.cimple.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cimple"

Changes:
--------
--- /work/SRC/openSUSE:Factory/cimple/cimple.changes    2012-11-30 
12:20:57.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.cimple.new/cimple.changes       2014-07-31 
21:50:36.000000000 +0200
@@ -1,0 +2,14 @@
+Tue Jul 29 13:56:28 UTC 2014 - [email protected]
+
+- Fix build on PowerPC little endian
+
+- added patches:
+  * ppc64le-support.patch
+
+-------------------------------------------------------------------
+Tue Apr 16 09:18:16 UTC 2013 - [email protected]
+
+- aarch64-support: Add support for aarch64
+  * aarch64-support.patch
+
+-------------------------------------------------------------------

New:
----
  aarch64-support.patch
  ppc64le-support.patch

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

Other differences:
------------------
++++++ cimple.spec ++++++
--- /var/tmp/diff_new_pack.Xi377G/_old  2014-07-31 21:50:38.000000000 +0200
+++ /var/tmp/diff_new_pack.Xi377G/_new  2014-07-31 21:50:38.000000000 +0200
@@ -1,10 +1,17 @@
 #
-# spec file for package cimple (Version 2.0.16)
+# spec file for package cimple
 #
-# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
-# This file and all modifications and additions to the pristine
-# package are under the same license as the package itself.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
+# All modifications and additions to the file contributed by third parties
+# remain the property of their copyright owners, unless otherwise agreed
+# upon. The license for this file, and modifications and additions to the
+# file, is the same license as for the pristine package itself (unless the
+# license for the pristine package is not an Open Source License, in which
+# case the license is the MIT License). An "Open Source License" is a
+# license that conforms to the Open Source Definition (Version 1.9)
+# published by the Open Source Initiative.
+
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
@@ -13,13 +20,15 @@
 
 Version:        2.0.24
 Release:        0
-License:        MIT
 Summary:        CIMPLE is an embeddable CIM provider engine
-Url:            http://cimple.org
+License:        MIT
 Group:          System/Management
+Url:            http://cimple.org
 Source0:        %{name}-%{version}.tar.bz2
 Patch1:         %{name}-%{version}-ow-adapter.dif
 Patch2:         %{name}-%{version}-gcc.patch
+Patch3:         aarch64-support.patch
+Patch4:         ppc64le-support.patch
 BuildRequires:  gcc-c++
 BuildRequires:  konkretcmpi
 BuildRequires:  sblim-cmpi-devel
@@ -98,6 +107,8 @@
 %setup -q
 %patch1 -p0
 %patch2 -p1
+%patch3 -p1
+%patch4 -p1
 
 %build
 export CIMPLE_DEBUG=1
@@ -168,4 +179,4 @@
 #%{_libdir}/libcimplepegadap_s.a
 %endif
 
-%changelog -n cimple
+%changelog

++++++ aarch64-support.patch ++++++
Index: cimple-2.0.24/config.guess
===================================================================
--- cimple-2.0.24.orig/config.guess
+++ cimple-2.0.24/config.guess
@@ -38,6 +38,10 @@ if [ -z "$host" ]; then
       host=ppc-unknown-linux-gnu
       ;;
 
+    aarch64:Linux:*:*)
+      host=aarch64-unknown-linux-gnu
+      ;;
+
     sun4*:SunOS:*:*)
       host=sparc-sun-solaris-gnu
       ;;
Index: cimple-2.0.24/configure
===================================================================
--- cimple-2.0.24.orig/configure
+++ cimple-2.0.24/configure
@@ -282,6 +282,11 @@ case "$host" in
         libbase=lib64
         ;;
 
+    aarch64-unknown-linux-gnu)
+        platform=LINUX_AARCH64_GNU
+        libbase=lib64
+        ;;
+
     arm-wrs-vxworks-gnu)
         platform=VXWORKS_XSCALE_GNU
         libbase=lib
Index: cimple-2.0.24/mak/platform_LINUX_AARCH64_GNU.mak
===================================================================
--- /dev/null
+++ cimple-2.0.24/mak/platform_LINUX_AARCH64_GNU.mak
@@ -0,0 +1 @@
+include $(TOP)/mak/platform_LINUX.mak
Index: cimple-2.0.24/src/cimple/Atomic.h
===================================================================
--- cimple-2.0.24.orig/src/cimple/Atomic.h
+++ cimple-2.0.24/src/cimple/Atomic.h
@@ -41,6 +41,8 @@
 #elif defined(CIMPLE_PLATFORM_LINUX_S390_GNU) || \
     defined(CIMPLE_PLATFORM_LINUX_S390X_GNU)
 # include "Atomic_LINUX_S390_GNU.h"
+#elif defined(CIMPLE_PLATFORM_LINUX_AARCH64_GNU)
+# include "Atomic_LINUX_AARCH64_GNU.h"
 #elif defined(CIMPLE_PLATFORM_DARWIN_PPC_GNU)
 # include "Atomic_DARWIN_PPC_GNU.h"
 #elif defined(CIMPLE_PLATFORM_DARWIN_IX86_GNU)
Index: cimple-2.0.24/src/cimple/Atomic_LINUX_AARCH64_GNU.h
===================================================================
--- /dev/null
+++ cimple-2.0.24/src/cimple/Atomic_LINUX_AARCH64_GNU.h
@@ -0,0 +1,53 @@
+#ifndef _cimple_Atomic_LINUX_AARCH64_GNU_h
+#define _cimple_Atomic_LINUX_AARCH64_GNU_h
+
+#include "config.h"
+
+#define CIMPLE_ATOMIC_INITIALIZER { 0 }
+
+CIMPLE_NAMESPACE_BEGIN
+
+struct Atomic
+{
+    int n;
+};
+
+inline void Atomic_create(Atomic* atomic, int x)
+{
+    atomic->n = x;
+}
+
+inline void Atomic_destroy(Atomic* atomic)
+{
+}
+
+inline int Atomic_get(const Atomic* atomic)
+{
+    int value;
+    __atomic_load (&atomic->n, &value, __ATOMIC_SEQ_CST);
+    return value;
+}
+
+inline void Atomic_set(Atomic* atomic, int x)
+{
+    __atomic_store (&atomic->n, &x, __ATOMIC_SEQ_CST);
+}
+
+static __inline__ void Atomic_inc(Atomic* atomic)
+{
+    __atomic_add_fetch(&atomic->n, 1, __ATOMIC_SEQ_CST);
+}
+
+static __inline__ int Atomic_dec_and_test(Atomic* atomic)
+{
+    return __atomic_add_fetch(&atomic->n, -1, __ATOMIC_SEQ_CST) == 0;
+}
+
+static __inline__ void Atomic_dec(Atomic* atomic)
+{
+    __atomic_add_fetch(&atomic->n, -1, __ATOMIC_SEQ_CST);
+}
+
+CIMPLE_NAMESPACE_END
+
+#endif /* _cimple_Atomic_LINUX_IX86_GNU_h */
Index: cimple-2.0.24/src/cimple/config.h
===================================================================
--- cimple-2.0.24.orig/src/cimple/config.h
+++ cimple-2.0.24/src/cimple/config.h
@@ -55,6 +55,8 @@
 #elif defined(CIMPLE_PLATFORM_LINUX_S390_GNU) || \
     defined(CIMPLE_PLATFORM_LINUX_S390X_GNU)
 # include "platform_LINUX_S390_GNU.h"
+#elif defined(CIMPLE_PLATFORM_LINUX_AARCH64_GNU)
+# include "platform_LINUX_AARCH64_GNU.h"
 #elif defined(CIMPLE_PLATFORM_WIN32_IX86_MSVC)
 # include "platform_WIN32_IX86_MSVC.h"
 #elif defined(CIMPLE_PLATFORM_WIN64_X86_64_MSVC)
Index: cimple-2.0.24/src/cimple/platform_LINUX_AARCH64_GNU.h
===================================================================
--- /dev/null
+++ cimple-2.0.24/src/cimple/platform_LINUX_AARCH64_GNU.h
@@ -0,0 +1,10 @@
+#ifndef _cimple_platform_LINUX_AARCH64_GNU_h
+#define _cimple_platform_LINUX_AARCH64_GNU_h
+
+#include "platform_LINUX.h"
+
+#define CIMPLE_LITTLE_ENDIAN
+
+#define CIMPLE_PLATFORM_ID "LINUX_AARCH64_GNU"
+
+#endif /* _cimple_platform_LINUX_AARCH64_GNU_h */
++++++ ppc64le-support.patch ++++++
Index: cimple-2.0.24/config.guess
===================================================================
--- cimple-2.0.24.orig/config.guess
+++ cimple-2.0.24/config.guess
@@ -30,6 +30,10 @@ if [ -z "$host" ]; then
       host=s390x-unknown-linux-gnu
       ;;
 
+    ppc64le:Linux:*:*)
+      host=ppc64le-unknown-linux-gnu
+      ;;
+
     ppc64:Linux:*:*)
       host=ppc64-unknown-linux-gnu
       ;;
Index: cimple-2.0.24/configure
===================================================================
--- cimple-2.0.24.orig/configure
+++ cimple-2.0.24/configure
@@ -193,7 +193,7 @@ if [ "$with_pegasus_env" = "1" ]; then
         ;;
 
       LINUX_PPC64_GNU)
-        host=ppc64-unknown-linux-gnu
+        host=ppc64*-unknown-linux-gnu
         ;;
 
       SOLARIS_SPARC_GNU)
@@ -287,6 +287,11 @@ case "$host" in
         libbase=lib64
         ;;
 
+    ppc64le-unknown-linux-gnu)
+        platform=LINUX_PPC64_GNU
+        libbase=lib64
+        ;;
+
     arm-wrs-vxworks-gnu)
         platform=VXWORKS_XSCALE_GNU
         libbase=lib
Index: cimple-2.0.24/src/cimple/platform_LINUX_PPC_GNU.h
===================================================================
--- cimple-2.0.24.orig/src/cimple/platform_LINUX_PPC_GNU.h
+++ cimple-2.0.24/src/cimple/platform_LINUX_PPC_GNU.h
@@ -29,7 +29,11 @@
 
 #include "platform_LINUX.h"
 
+#if defined(__LITTLE_ENDIAN__)
+#define CIMPLE_LITTLE_ENDIAN
+#else
 #define CIMPLE_BIG_ENDIAN
+#endif
 
 #define CIMPLE_PLATFORM_ID "LINUX_PPC_GNU"
 
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to