[Mesa-dev] [PATCH] gallivm: Fix build since llvm-3.7.0svn r234460.

Tom Stellard tom at stellard.net
Thu Apr 9 06:32:25 PDT 2015


On Wed, Apr 08, 2015 at 10:56:37PM -0700, Vinson Lee wrote:
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89963
> Signed-off-by: Vinson Lee <vlee at freedesktop.org>
Reviewed-by: Tom Stellard <thomas.stellard at amd.com>
> ---
>  src/gallium/auxiliary/gallivm/lp_bld_debug.cpp | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp b/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
> index 65d2896..b712915 100644
> --- a/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
> +++ b/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
> @@ -97,7 +97,11 @@ private:
>     uint64_t pos;
>  
>  public:
> +#if HAVE_LLVM >= 0x0307
> +   raw_debug_ostream() : raw_ostream(SK_FD), pos(0) { }
> +#else
>     raw_debug_ostream() : pos(0) { }
> +#endif
>  
>     void write_impl(const char *Ptr, size_t Size);
>  
> -- 
> 2.3.5
> 
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list