From 1f261b4092e403b5b41f63c34ef105fbb402a4f2 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Fri, 2 Sep 2016 23:45:59 +0200 Subject: [PATCH] libGL: rebuild against llvm-3.9.0. --- srcpkgs/libGL/patches/llvm.patch | 23 +++++++++++++++++++++++ srcpkgs/libGL/template | 2 +- 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/libGL/patches/llvm.patch diff --git a/srcpkgs/libGL/patches/llvm.patch b/srcpkgs/libGL/patches/llvm.patch new file mode 100644 index 00000000000..28ab543c4d7 --- /dev/null +++ b/srcpkgs/libGL/patches/llvm.patch @@ -0,0 +1,23 @@ +From 82e0bbd01abfb2073519941d9893fa6ac05fb58c Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Vedran=20Mileti=C4=87?= +Date: Tue, 21 Jun 2016 01:17:49 +0200 +Subject: clover: Fix build against clang SVN >= r273191 +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +setLangDefaults() now requires PreprocessorOptions as an argument. + +Reviewed-and-Tested-by: Michel Dänzer + +--- src/gallium/state_trackers/clover/llvm/invocation.cpp ++++ src/gallium/state_trackers/clover/llvm/invocation.cpp +@@ -207,7 +207,7 @@ namespace { + c.getDiagnosticOpts().ShowCarets = false; + c.getInvocation().setLangDefaults(c.getLangOpts(), clang::IK_OpenCL, + #if HAVE_LLVM >= 0x0309 +- llvm::Triple(triple), ++ llvm::Triple(triple), c.getPreprocessorOpts(), + #endif + clang::LangStandard::lang_opencl11); + c.createDiagnostics( diff --git a/srcpkgs/libGL/template b/srcpkgs/libGL/template index babef9d5215..1714aa8663c 100644 --- a/srcpkgs/libGL/template +++ b/srcpkgs/libGL/template @@ -1,7 +1,7 @@ # Template build file for 'libGL'. pkgname=libGL version=12.0.1 -revision=1 +revision=2 wrksrc="mesa-${version}" build_style=gnu-configure configure_args="--enable-shared-glapi --enable-gbm