diff --git a/mesa-10.3-bigendian-assert.patch b/mesa-10.3-bigendian-assert.patch new file mode 100644 index 0000000..056ed25 --- /dev/null +++ b/mesa-10.3-bigendian-assert.patch @@ -0,0 +1,13 @@ +diff -up mesa-20140824/src/gallium/auxiliary/util/u_math.h.be mesa-20140824/src/gallium/auxiliary/util/u_math.h +--- mesa-20140824/src/gallium/auxiliary/util/u_math.h.be 2014-08-28 15:30:32.560480333 +0200 ++++ mesa-20140824/src/gallium/auxiliary/util/u_math.h 2014-08-28 15:30:56.275479755 +0200 +@@ -55,6 +55,9 @@ extern "C" { + #include /* for ffs */ + #endif + ++#ifdef PIPE_ARCH_BIG_ENDIAN ++#include ++#endif + + #ifndef M_SQRT2 + #define M_SQRT2 1.41421356237309504880 diff --git a/mesa.spec b/mesa.spec index c38fab5..d793a59 100644 --- a/mesa.spec +++ b/mesa.spec @@ -7,13 +7,14 @@ %define with_wayland 1 %endif -%ifarch ppc64le +%ifarch %{power64} ppc %undefine with_vdpau %endif # S390 doesn't have video cards, but we need swrast for xserver's GLX # llvm (and thus llvmpipe) doesn't actually work on ppc32 -%ifnarch s390 ppc ppc64le +# llvm support for ppc64le is supposed to come in llvm-3.5 +%ifnarch s390 ppc ppc64le %define with_llvm 1 %endif @@ -22,11 +23,11 @@ %define with_radeonsi 1 %endif -%ifarch s390 s390x ppc64le ppc +%ifarch s390 s390x %{power64} ppc %define with_hardware 0 %define base_drivers swrast %endif -%ifnarch s390 s390x ppc64le ppc +%ifnarch s390 s390x %{power64} ppc %define with_hardware 1 %define base_drivers nouveau,radeon,r200 %ifarch %{ix86} x86_64 @@ -54,7 +55,7 @@ Summary: Mesa graphics libraries Name: mesa Version: 10.3 -Release: 0.rc1.%{git}%{?dist} +Release: 1.rc1.%{git}%{?dist} License: MIT Group: System Environment/Libraries URL: http://www.mesa3d.org @@ -75,6 +76,7 @@ Patch9: mesa-8.0-llvmpipe-shmget.patch Patch12: mesa-8.0.1-fix-16bpp.patch Patch15: mesa-9.2-hardware-float.patch Patch20: mesa-10.2-evergreen-big-endian.patch +Patch30: mesa-10.3-bigendian-assert.patch # https://bugs.freedesktop.org/show_bug.cgi?id=73512 Patch99: 0001-opencl-use-versioned-.so-in-mesa.icd.patch @@ -341,6 +343,7 @@ grep -q ^/ src/gallium/auxiliary/vl/vl_decoder.c && exit 1 %patch15 -p1 -b .hwfloat %patch20 -p1 -b .egbe +%patch30 -p1 -b .beassert %if 0%{?with_opencl} %patch99 -p1 -b .icd @@ -532,11 +535,13 @@ rm -rf $RPM_BUILD_ROOT %if 0%{?with_vmware} %{_libdir}/dri/vmwgfx_dri.so %endif +%endif +%if 0%{?with_llvm} %dir %{_libdir}/gallium-pipe %{_libdir}/gallium-pipe/*.so +%{_libdir}/dri/kms_swrast_dri.so %endif %{_libdir}/dri/swrast_dri.so -%{_libdir}/dri/kms_swrast_dri.so %if %{with_hardware} %if 0%{?with_omx} @@ -672,6 +677,10 @@ rm -rf $RPM_BUILD_ROOT # Generate changelog using: # git log old_commit_sha..new_commit_sha --format="- %H: %s (%an)" %changelog +* Fri Aug 29 2014 Karsten Hopp 10.3-1.rc1.20140824 +- fix ppc64/ppc64le filelists +- fix missing include on bigendian + * Sun Aug 24 2014 Igor Gnatenko - 10.3-0.rc1.20140824 - 10.3-rc1