- fix build on big endians
This commit is contained in:
parent
631fb6eba1
commit
fd42ee1fbe
|
@ -0,0 +1,11 @@
|
||||||
|
diff -up efl-1.20.2/src/lib/eina/eina_debug.c.orig efl-1.20.2/src/lib/eina/eina_debug.c
|
||||||
|
--- efl-1.20.2/src/lib/eina/eina_debug.c.orig 2017-08-30 18:09:56.823901819 +0200
|
||||||
|
+++ efl-1.20.2/src/lib/eina/eina_debug.c 2017-08-30 18:10:09.023901819 +0200
|
||||||
|
@@ -60,6 +60,7 @@
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include "eina_debug.h"
|
||||||
|
+#include "eina_cpu.h"
|
||||||
|
#include "eina_types.h"
|
||||||
|
#include "eina_list.h"
|
||||||
|
#include "eina_mempool.h"
|
11
efl.spec
11
efl.spec
|
@ -46,11 +46,12 @@ Source0: http://download.enlightenment.org/rel/libs/efl/efl-%{version}.tar.xz
|
||||||
Patch1: efl-1.17.1-old-nomodifier-in-drm_mode_fb_cmd2.patch
|
Patch1: efl-1.17.1-old-nomodifier-in-drm_mode_fb_cmd2.patch
|
||||||
# If luaL_reg is not defined, define it.
|
# If luaL_reg is not defined, define it.
|
||||||
Patch2: efl-1.19.0-luajitfix.patch
|
Patch2: efl-1.19.0-luajitfix.patch
|
||||||
# s390x and ppc64 does not build (but ppc64le does)
|
# fix build on big endians
|
||||||
# maybe endian?
|
|
||||||
# lib/eina/.libs/libeina.so: undefined reference to `eina_swap32'
|
# lib/eina/.libs/libeina.so: undefined reference to `eina_swap32'
|
||||||
ExcludeArch: s390x ppc64
|
Patch3: efl-1.20.2-endian.patch
|
||||||
|
%ifnarch s390 s390x
|
||||||
BuildRequires: libunwind-devel
|
BuildRequires: libunwind-devel
|
||||||
|
%endif
|
||||||
BuildRequires: bullet-devel libpng-devel libjpeg-devel gstreamer1-devel zlib-devel
|
BuildRequires: bullet-devel libpng-devel libjpeg-devel gstreamer1-devel zlib-devel
|
||||||
BuildRequires: gstreamer1-plugins-base-devel libtiff-devel openssl-devel
|
BuildRequires: gstreamer1-plugins-base-devel libtiff-devel openssl-devel
|
||||||
BuildRequires: curl-devel dbus-devel glibc-devel fontconfig-devel freetype-devel
|
BuildRequires: curl-devel dbus-devel glibc-devel fontconfig-devel freetype-devel
|
||||||
|
@ -206,6 +207,7 @@ Development files for EFL.
|
||||||
%patch1 -p1 -b .old
|
%patch1 -p1 -b .old
|
||||||
%endif
|
%endif
|
||||||
%patch2 -p1 -b .luajitfix
|
%patch2 -p1 -b .luajitfix
|
||||||
|
%patch3 -p1 -b .endian
|
||||||
autoreconf -ifv
|
autoreconf -ifv
|
||||||
|
|
||||||
# This is why hardcoding paths is bad.
|
# This is why hardcoding paths is bad.
|
||||||
|
@ -564,6 +566,9 @@ fi
|
||||||
%{_libdir}/pkgconfig/evas*.pc
|
%{_libdir}/pkgconfig/evas*.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Aug 30 2017 Dan Horák <dan[at]danny.cz> - 1.20.2-2
|
||||||
|
- fix build on big endians
|
||||||
|
|
||||||
* Fri Aug 11 2017 Tom Callaway <spot@fedoraproject.org> - 1.20.2-1
|
* Fri Aug 11 2017 Tom Callaway <spot@fedoraproject.org> - 1.20.2-1
|
||||||
- update to 1.20.2
|
- update to 1.20.2
|
||||||
- BR: libunwind-devel
|
- BR: libunwind-devel
|
||||||
|
|
Loading…
Reference in New Issue