Hello community,

here is the log from the commit of package libcmpiutil for openSUSE:Factory 
checked in at 2012-09-11 09:09:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libcmpiutil (Old)
 and      /work/SRC/openSUSE:Factory/.libcmpiutil.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libcmpiutil", Maintainer is "jfeh...@suse.com"

Changes:
--------
--- /work/SRC/openSUSE:Factory/libcmpiutil/libcmpiutil.changes  2011-09-23 
02:07:57.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.libcmpiutil.new/libcmpiutil.changes     
2012-09-11 09:09:06.000000000 +0200
@@ -1,0 +2,5 @@
+Thu Aug 16 20:51:51 UTC 2012 - ag...@suse.com
+
+- fix arm build
+
+-------------------------------------------------------------------

New:
----
  fix-arm.patch

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

Other differences:
------------------
++++++ libcmpiutil.spec ++++++
--- /var/tmp/diff_new_pack.Qz8KbB/_old  2012-09-11 09:09:08.000000000 +0200
+++ /var/tmp/diff_new_pack.Qz8KbB/_new  2012-09-11 09:09:08.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libcmpiutil
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 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
@@ -15,11 +15,12 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
-
 
 Name:           libcmpiutil
-BuildRequires:  bison flex libxml2-devel sblim-cmpi-devel
+BuildRequires:  bison
+BuildRequires:  flex
+BuildRequires:  libxml2-devel
+BuildRequires:  sblim-cmpi-devel
 %if 0%{?fedora_version} || 0%{?centos_version} || 0%{?rhel_version} || 
0%{?fedora} || 0%{?rhel}
 BuildRequires:  pkgconfig
 %else
@@ -30,13 +31,13 @@
 %endif
 %endif
 Url:            http://libvirt.org/CIM/
-License:        LGPL-2.1+
-Group:          Development/Libraries/C and C++
-AutoReqProv:    yes
 Version:        0.5.6
-Release:        1
+Release:        0
 Summary:        Library of utility functions for CMPI providers
+License:        LGPL-2.1+
+Group:          Development/Libraries/C and C++
 Source:         %{name}-%{version}.tar.bz2
+Patch1:         fix-arm.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -53,7 +54,6 @@
     Dan Smith <da...@us.ibm.com>
 
 %package devel
-License:        LGPL-2.1+
 Summary:        Library of utility functions for CMPI providers
 Group:          Development/Libraries/C and C++
 Requires:       sblim-cmpi-devel
@@ -83,6 +83,9 @@
 
 %prep
 %setup -q
+%ifarch %arm
+%patch1 -p1
+%endif
 chmod -x *.c *.y *.h *.l
 
 %build

++++++ fix-arm.patch ++++++
Index: libcmpiutil-0.5.6/std_invokemethod.c
===================================================================
--- libcmpiutil-0.5.6.orig/std_invokemethod.c
+++ libcmpiutil-0.5.6/std_invokemethod.c
@@ -115,7 +115,7 @@ static int parse_eo_array(CMPIArray *str
                 }
 
                 CMSetArrayElementAt(*instances_out, i,
-                                    (CMPIValue *)&inst,
+                                    (CMPIValue *)(void*)&inst,
                                     CMPI_instance);
         }
 
Index: libcmpiutil-0.5.6/std_association.c
===================================================================
--- libcmpiutil-0.5.6.orig/std_association.c
+++ libcmpiutil-0.5.6/std_association.c
@@ -38,9 +38,9 @@ void set_reference(struct std_assoc *ass
                    const CMPIObjectPath *target)
 {
         CMSetProperty(inst, assoc->source_prop,
-                      (CMPIValue *)&source, CMPI_ref);
+                      (CMPIValue *)(void*)&source, CMPI_ref);
         CMSetProperty(inst, assoc->target_prop,
-                      (CMPIValue *)&target, CMPI_ref);
+                      (CMPIValue *)(void*)&target, CMPI_ref);
 }
 
 static bool match_op(const CMPIBroker *broker,
Index: libcmpiutil-0.5.6/std_indication.c
===================================================================
--- libcmpiutil-0.5.6.orig/std_indication.c
+++ libcmpiutil-0.5.6/std_indication.c
@@ -392,7 +392,7 @@ CMPIStatus stdi_raise_indication(const C
         if (s.rc != CMPI_RC_OK)
                 return s;
 
-        s = CMAddArg(argsin, "TheIndication", &ind, CMPI_instance);
+        s = CMAddArg(argsin, "TheIndication", (void*)&ind, CMPI_instance);
         if (s.rc != CMPI_RC_OK)
                 return s;
 
Index: libcmpiutil-0.5.6/eo_parser_xml.c
===================================================================
--- libcmpiutil-0.5.6.orig/eo_parser_xml.c
+++ libcmpiutil-0.5.6/eo_parser_xml.c
@@ -269,7 +269,7 @@ static bool parse_array_property(const C
                 type = parse_array(broker, tstr, val_arr, &array);
                 if (type != CMPI_null) {
                         CU_DEBUG("Setting array property");
-                        CMSetProperty(inst, name, &array, (CMPI_ARRAY | type));
+                        CMSetProperty(inst, name, (void*)&array, (CMPI_ARRAY | 
type));
                 }
         }
 
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to