Hello community, here is the log from the commit of package Mesa for openSUSE:Factory checked in at 2014-10-01 07:40:22 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/Mesa (Old) and /work/SRC/openSUSE:Factory/.Mesa.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "Mesa" Changes: -------- --- /work/SRC/openSUSE:Factory/Mesa/Mesa.changes 2014-09-25 08:42:46.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.Mesa.new/Mesa.changes 2014-10-01 07:40:32.000000000 +0200 @@ -1,0 +2,9 @@ +Thu Sep 25 13:00:23 UTC 2014 - dvaleev@suse.com + +- Fix ppc64 build (bnc#893275 bnc#871128) + u_be_assert_include.patch + Add ncurses-devel as build dependency to build with -ltinfo +- Enable llvm on ppc64le (llvm3.5 got ppc64le support) +- Enable shared on ppc64 and ppc64le + +------------------------------------------------------------------- New: ---- u_be_assert_include.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ Mesa.spec ++++++ --- /var/tmp/diff_new_pack.m7SFz9/_old 2014-10-01 07:40:34.000000000 +0200 +++ /var/tmp/diff_new_pack.m7SFz9/_new 2014-10-01 07:40:34.000000000 +0200 @@ -29,7 +29,7 @@ %else %define gallium_loader 0 %endif -%ifarch %ix86 x86_64 %arm ppc64 ppc64le +%ifarch %ix86 x86_64 %arm ppc ppc64 ppc64le %define vdpau_r600 1 %else %define vdpau_r600 0 @@ -39,24 +39,17 @@ %else %define llvm_r600 0 %endif -%ifarch %ix86 x86_64 %arm ppc64 +%ifarch %ix86 x86_64 %arm ppc64 ppc64le %define xvmc_support 1 %else %define xvmc_support 0 %endif -%ifarch %ix86 x86_64 %arm ppc64 +%ifarch %ix86 x86_64 %arm ppc ppc64 ppc64le %define vdpau_nouveau 1 %else %define vdpau_nouveau 0 %endif -# llvm-config on ppc64 is currently broken (bnc#871128) -# /usr/lib64/libLLVMSupport.a(Process.cpp.o): In function `llvm::sys::Process::FileDescriptorHasColors(int)': -# /home/abuild/rpmbuild/BUILD/llvm/lib/Support/Process.cpp:(.text+0xcd4): undefined reference to `setupterm' -%ifarch ppc64 -%define egl_gallium 0 -%endif - %define _name_archive MesaLib %define _version 10.3.0 @@ -110,8 +103,9 @@ BuildRequires: pkgconfig(xfixes) BuildRequires: pkgconfig(xxf86vm) BuildRequires: pkgconfig(zlib) -%ifarch %arm ppc64 s390x %ix86 x86_64 +%ifarch %arm ppc64 ppc64le s390x %ix86 x86_64 BuildRequires: llvm-devel +BuildRequires: ncurses-devel %endif BuildRequires: libXvMC-devel BuildRequires: libvdpau-devel @@ -150,6 +144,7 @@ # Patch from Fedora, use shmget when available, under llvmpipe Patch15: u_mesa-8.0-llvmpipe-shmget.patch Patch17: u_Suppress-any-libGL-.-warnings-when-LIBGL_DEBUG-is-se.patch +Patch18: u_be_assert_include.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -516,6 +511,7 @@ #%patch13 -p1 ### %patch17 -p1 +%patch18 -p1 %build rm -f src/mesa/depend @@ -565,12 +561,9 @@ --enable-vdpau \ --enable-xvmc \ %endif -%ifarch %arm ppc64 +%ifarch %arm ppc64 ppc64le --enable-xa \ --enable-gallium-llvm \ -%ifarch ppc64 - --disable-llvm-shared-libs \ -%endif --with-dri-drivers=nouveau \ %ifarch %arm --with-gallium-drivers=r300,r600,nouveau,swrast,svga,freedreno \ @@ -646,7 +639,7 @@ %post -n libgbm1 -p /sbin/ldconfig %postun -n libgbm1 -p /sbin/ldconfig -%ifarch %ix86 x86_64 %arm ppc64 s390x +%ifarch %ix86 x86_64 %arm ppc64 ppc64le s390x %post -n libxatracker2 -p /sbin/ldconfig %postun -n libxatracker2 -p /sbin/ldconfig %endif @@ -777,7 +770,7 @@ %_libdir/libgbm.so %_libdir/pkgconfig/gbm.pc -%ifarch %ix86 x86_64 %arm ppc64 s390x +%ifarch %ix86 x86_64 %arm ppc64 ppc64le s390x %files -n libxatracker2 %defattr(-,root,root) %_libdir/libxatracker.so.2* ++++++ u_be_assert_include.patch ++++++
From 83349c31a0e0997ea79bd2832cf9b80e7e22bbc0 Mon Sep 17 00:00:00 2001 From: Dinar Valeev
Date: Mon, 29 Sep 2014 11:48:01 +0000 Subject: [PATCH] Fix missing include for BigEndian systems Patch-Mainline: "To be upstreamed"
Signed-off-by: Dinar Valeev