Mesa/u_svga-Fix-build-on-ppc64le.patch

27 lines
889 B
Diff
Raw Normal View History

From 96b59b70573b8fafc377b4ac04fe46a2474180da Mon Sep 17 00:00:00 2001
From: Stefan Dirsch <sndirsch@suse.de>
Date: Thu, 7 Sep 2017 11:53:21 +0200
Subject: [PATCH glx/glxglvnd] svga: Fix build on ppc64le.
This let us compile the code on ppc64le, but it no-ops the log function.
---
src/gallium/drivers/svga/svga_msg.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gallium/drivers/svga/svga_msg.c b/src/gallium/drivers/svga/svga_msg.c
index e0346dee75..611abb70f4 100755
--- a/src/gallium/drivers/svga/svga_msg.c
+++ b/src/gallium/drivers/svga/svga_msg.c
@@ -57,7 +57,7 @@
#define HIGH_WORD(X) ((X & 0xFFFF0000) >> 16)
-#if defined(PIPE_CC_GCC) && (PIPE_CC_GCC_VERSION > 502)
+#if defined(PIPE_CC_GCC) && (PIPE_CC_GCC_VERSION > 502) && !defined(USE_PPC64LE_ASM)
/**
* Hypervisor-specific bi-directional communication channel. Should never
--
2.13.5