Accepting request 131257 from openSUSE:Factory:ARM
- add support for arm OBS-URL: https://build.opensuse.org/request/show/131257 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libEMF?expand=0&rev=7
This commit is contained in:
parent
4b8aeae287
commit
f5fd21e38f
24
fix-arm.patch
Normal file
24
fix-arm.patch
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
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:
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 20 23:04:17 UTC 2012 - agraf@suse.com
|
||||||
|
|
||||||
|
- add support for arm
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jun 4 18:22:36 UTC 2012 - dmueller@suse.com
|
Mon Jun 4 18:22:36 UTC 2012 - dmueller@suse.com
|
||||||
|
|
||||||
|
@ -21,13 +21,14 @@ BuildRequires: gcc-c++
|
|||||||
Version: 1.0.6
|
Version: 1.0.6
|
||||||
Release: 0
|
Release: 0
|
||||||
Source: %{name}-%{version}.tar.gz
|
Source: %{name}-%{version}.tar.gz
|
||||||
|
Patch0: fix-arm.patch
|
||||||
Url: http://libemf.sourceforge.net/
|
Url: http://libemf.sourceforge.net/
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
Summary: Library for Manipulation with Enhanced MetaFile (EMF, ECMA-234)
|
Summary: Library for Manipulation with Enhanced MetaFile (EMF, ECMA-234)
|
||||||
License: LGPL-2.1+ ; GPL-2.0+
|
License: LGPL-2.1+ ; GPL-2.0+
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
# taken from includes/wine/winnt.h
|
# taken from includes/wine/winnt.h
|
||||||
ExclusiveArch: %ix86 x86_64 ppc64 sparc
|
ExclusiveArch: %ix86 x86_64 ppc64 sparc %arm
|
||||||
|
|
||||||
%description
|
%description
|
||||||
LibEMF is a C/C++ library that provides a drawing toolkit based on
|
LibEMF is a C/C++ library that provides a drawing toolkit based on
|
||||||
@ -90,6 +91,7 @@ SO/OO graphics object.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure\
|
%configure\
|
||||||
|
Loading…
Reference in New Issue
Block a user