mgorny 14/09/07 17:09:58 Added: mesa-10.2.7-llvm-unique_ptr.patch Log: Version bump, requested in bug #522306. Update dependencies from ::x11. Fix llvm-3.5.0 support, bug #522300. (Portage version: 2.2.12/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)
Revision Changes Path 1.1 media-libs/mesa/files/mesa-10.2.7-llvm-unique_ptr.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/mesa/files/mesa-10.2.7-llvm-unique_ptr.patch?rev=1.1&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/mesa/files/mesa-10.2.7-llvm-unique_ptr.patch?rev=1.1&content-type=text/plain Index: mesa-10.2.7-llvm-unique_ptr.patch =================================================================== >From dc9f6ad81b707681f61a068fff7ce0f1e0f79174 Mon Sep 17 00:00:00 2001 From: Aaron Watry <[email protected]> Date: Fri, 20 Jun 2014 19:13:30 -0500 Subject: [PATCH] gallivm: Fix build after LLVM commit 211259 Signed-off-by: Aaron Watry <[email protected]> Reviewed-by: Tom Stellard <[email protected]> --- src/gallium/auxiliary/gallivm/lp_bld_debug.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp b/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp index 2629aaa..4a6dc39 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp +++ b/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp @@ -61,7 +61,9 @@ #include <llvm/MC/MCRegisterInfo.h> #endif /* HAVE_LLVM >= 0x0301 */ -#if HAVE_LLVM >= 0x0303 +#if HAVE_LLVM >= 0x0305 +#define OwningPtr std::unique_ptr +#elif HAVE_LLVM >= 0x0303 #include <llvm/ADT/OwningPtr.h> #endif -- 2.1.0
