libGL: rebuild for llvm-3.8.0.
This commit is contained in:
parent
dffb85bee2
commit
f47be3bb8e
2 changed files with 17 additions and 1 deletions
16
srcpkgs/libGL/patches/llvm3.8.patch
Normal file
16
srcpkgs/libGL/patches/llvm3.8.patch
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
https://build.opensuse.org/package/show?project=X11%3AXOrg&package=Mesa
|
||||||
|
|
||||||
|
--- src/gallium/state_trackers/clover/llvm/invocation.cpp
|
||||||
|
+++ 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);
|
|
@ -1,7 +1,7 @@
|
||||||
# Template build file for 'libGL'.
|
# Template build file for 'libGL'.
|
||||||
pkgname=libGL
|
pkgname=libGL
|
||||||
version=11.1.2
|
version=11.1.2
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="mesa-${version}"
|
wrksrc="mesa-${version}"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--enable-shared-glapi --enable-gbm
|
configure_args="--enable-shared-glapi --enable-gbm
|
||||||
|
|
Loading…
Add table
Reference in a new issue