Hello community,

here is the log from the commit of package libEMF for openSUSE:Factory checked 
in at 2012-08-22 12:12:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libEMF (Old)
 and      /work/SRC/openSUSE:Factory/.libEMF.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libEMF", Maintainer is "sbra...@suse.com"

Changes:
--------
--- /work/SRC/openSUSE:Factory/libEMF/libEMF.changes    2012-06-15 
21:37:56.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.libEMF.new/libEMF.changes       2012-08-22 
12:12:40.000000000 +0200
@@ -1,0 +2,5 @@
+Mon Aug 20 23:04:17 UTC 2012 - ag...@suse.com
+
+- add support for arm
+
+-------------------------------------------------------------------

New:
----
  fix-arm.patch

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

Other differences:
------------------
++++++ libEMF.spec ++++++
--- /var/tmp/diff_new_pack.OZzpE0/_old  2012-08-22 12:12:41.000000000 +0200
+++ /var/tmp/diff_new_pack.OZzpE0/_new  2012-08-22 12:12:41.000000000 +0200
@@ -21,13 +21,14 @@
 Version:        1.0.6
 Release:        0
 Source:         %{name}-%{version}.tar.gz
+Patch0:         fix-arm.patch
 Url:            http://libemf.sourceforge.net/
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 Summary:        Library for Manipulation with Enhanced MetaFile (EMF, ECMA-234)
 License:        LGPL-2.1+ ; GPL-2.0+
 Group:          System/Libraries
 # taken from includes/wine/winnt.h
-ExclusiveArch:  %ix86 x86_64 ppc64 sparc
+ExclusiveArch:  %ix86 x86_64 ppc64 sparc %arm
 
 %description
 LibEMF is a C/C++ library that provides a drawing toolkit based on
@@ -90,6 +91,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %configure\

++++++ fix-arm.patch ++++++
Index: libEMF-1.0.6/include/libEMF/wine/winnt.h
===================================================================
--- libEMF-1.0.6.orig/include/libEMF/wine/winnt.h
+++ libEMF-1.0.6/include/libEMF/wine/winnt.h
@@ -45,6 +45,10 @@
 # define WORDS_BIGENDIAN
 # define BITFIELDS_BIGENDIAN
 # undef  ALLOW_UNALIGNED_ACCESS
+#elif defined(__arm__)
+# undef WORDS_BIGENDIAN
+# undef BITFIELDS_BIGENDIAN
+# undef  ALLOW_UNALIGNED_ACCESS
 #elif !defined(RC_INVOKED)
 # error Unknown CPU architecture!
 #endif
@@ -1213,7 +1217,7 @@ typedef struct _STACK_FRAME_HEADER
 
 #endif  /* __PPC__ */
 
-#ifdef __sparc__
+#if defined(__sparc__) || defined(__arm__)
 
 /* 
  * FIXME:  
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to