Hello community, here is the log from the commit of package Mesa for openSUSE:Factory checked in at 2016-02-07 09:22:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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 2016-01-23 01:04:26.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.Mesa.new/Mesa.changes 2016-02-07 09:22:24.000000000 +0100 @@ -1,0 +2,6 @@ +Thu Jan 28 09:37:21 UTC 2016 - [email protected] + +- Add U_clover-Fix-build-against-LLVM-3.8.patch to fix build + against llvm 3.8 + +------------------------------------------------------------------- New: ---- U_clover-Fix-build-against-LLVM-3.8.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ Mesa.spec ++++++ --- /var/tmp/diff_new_pack.4S6pIP/_old 2016-02-07 09:22:25.000000000 +0100 +++ /var/tmp/diff_new_pack.4S6pIP/_new 2016-02-07 09:22:25.000000000 +0100 @@ -68,6 +68,8 @@ Patch17: u_st-va-hardlink-driver-instances-to-gallium_drv_video.patch # never to be upstreamed Patch18: n_VDPAU-XVMC-libs-Replace-hardlinks-with-copies.patch +# Already upstream +Patch19: U_clover-Fix-build-against-LLVM-3.8.patch BuildRequires: autoconf >= 2.60 BuildRequires: automake BuildRequires: bison @@ -560,6 +562,7 @@ #%patch13 -p1 %patch17 -p1 %patch18 -p1 +%patch19 -p1 %build %if 0%{?suse_version} >= 1310 ++++++ U_clover-Fix-build-against-LLVM-3.8.patch ++++++ diff --git a/src/gallium/state_trackers/clover/llvm/invocation.cpp b/src/gallium/state_trackers/clover/llvm/invocation.cpp index 3b37f08..4d11c24 100644 --- a/src/gallium/state_trackers/clover/llvm/invocation.cpp +++ b/src/gallium/state_trackers/clover/llvm/invocation.cpp @@ -661,7 +661,11 @@ namespace { if (dump_asm) { LLVMSetTargetMachineAsmVerbosity(tm, true); +#if HAVE_LLVM >= 0x0308 + LLVMModuleRef debug_mod = wrap(llvm::CloneModule(mod).release()); +#else LLVMModuleRef debug_mod = wrap(llvm::CloneModule(mod)); +#endif emit_code(tm, debug_mod, LLVMAssemblyFile, &out_buffer, r_log); buffer_size = LLVMGetBufferSize(out_buffer); buffer_data = LLVMGetBufferStart(out_buffer);
