Accepting request 210641 from multimedia:libs
- ppc64le-support.patch: Support for powerpc64le (forwarded request 210067 from uweigand) OBS-URL: https://build.opensuse.org/request/show/210641 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libEMF?expand=0&rev=22
This commit is contained in:
commit
f7f7c71b6f
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Dec 9 18:14:07 UTC 2013 - uweigand@de.ibm.com
|
||||||
|
|
||||||
|
- ppc64le-support.patch: Support for powerpc64le
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Apr 11 08:20:34 UTC 2013 - mmeister@suse.com
|
Thu Apr 11 08:20:34 UTC 2013 - mmeister@suse.com
|
||||||
|
|
||||||
|
@ -22,13 +22,14 @@ Version: 1.0.7
|
|||||||
Release: 0
|
Release: 0
|
||||||
Source: http://downloads.sourceforge.net/project/libemf/libemf/%{version}/%{name}-%{version}.tar.gz
|
Source: http://downloads.sourceforge.net/project/libemf/libemf/%{version}/%{name}-%{version}.tar.gz
|
||||||
Patch: aarch64-support.patch
|
Patch: aarch64-support.patch
|
||||||
|
Patch2: ppc64le-support.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+ and GPL-2.0+
|
License: LGPL-2.1+ and GPL-2.0+
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
# taken from includes/wine/winnt.h
|
# taken from includes/wine/winnt.h
|
||||||
ExclusiveArch: alpha %arm aarch64 %ix86 mips ppc ppc64 sparc s390 s390x x86_64
|
ExclusiveArch: alpha %arm aarch64 %ix86 mips ppc ppc64 ppc64le sparc s390 s390x x86_64
|
||||||
|
|
||||||
%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
|
||||||
@ -92,6 +93,7 @@ SO/OO graphics object.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch -p1
|
%patch -p1
|
||||||
|
%patch2 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure\
|
%configure\
|
||||||
|
20
ppc64le-support.patch
Normal file
20
ppc64le-support.patch
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
Index: libEMF-1.0.7/include/libEMF/wine/winnt.h
|
||||||
|
===================================================================
|
||||||
|
--- libEMF-1.0.7.orig/include/libEMF/wine/winnt.h
|
||||||
|
+++ libEMF-1.0.7/include/libEMF/wine/winnt.h
|
||||||
|
@@ -50,8 +50,13 @@
|
||||||
|
# define BITFIELDS_BIGENDIAN
|
||||||
|
# undef ALLOW_UNALIGNED_ACCESS
|
||||||
|
#elif defined(__PPC__)
|
||||||
|
-# define WORDS_BIGENDIAN
|
||||||
|
-# define BITFIELDS_BIGENDIAN
|
||||||
|
+# ifdef __LITTLE_ENDIAN__
|
||||||
|
+# undef WORDS_BIGENDIAN
|
||||||
|
+# undef BITFIELDS_BIGENDIAN
|
||||||
|
+# else
|
||||||
|
+# define WORDS_BIGENDIAN
|
||||||
|
+# define BITFIELDS_BIGENDIAN
|
||||||
|
+# endif
|
||||||
|
# undef ALLOW_UNALIGNED_ACCESS
|
||||||
|
#elif defined(__s390__)
|
||||||
|
# define WORDS_BIGENDIAN
|
Loading…
x
Reference in New Issue
Block a user