File n_Replace-_LOADER_FATAL-by-_LOADER_WARNING-in-CriticalErrorMessageF.patch of Package Mesa.5370

From: Egbert Eich <eich@suse.de>
Date: Tue Mar 22 17:47:53 2016 +0100
Subject: [PATCH]Replace _LOADER_FATAL by _LOADER_WARNING in CriticalErrorMessageF()
Patch-mainline: never
Git-commit: 9af8c25f0654e6288ca32db0924f12951a36a768

References: bsc#971950
Signed-off-by: Egbert Eich <eich@suse.com>

This allows us to muffle the
  libGL error: failed to load driver: xxxx
messages when going over an ssh connections.

Signed-off-by: Egbert Eich <eich@suse.de>
---
 mesa-11.1.2/src/glx/dri_common.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mesa-11.1.2/src/glx/dri_common.h b/mesa-11.1.2/src/glx/dri_common.h
index 947d331..2a6f649 100644
--- a/src/glx/dri_common.h
+++ b/src/glx/dri_common.h
@@ -67,7 +67,7 @@ extern void dri_message(int level, const char *f, ...) PRINTFLIKE(2, 3);
 
 #define InfoMessageF(...) dri_message(_LOADER_INFO, __VA_ARGS__)
 #define ErrorMessageF(...) dri_message(_LOADER_WARNING, __VA_ARGS__)
-#define CriticalErrorMessageF(...) dri_message(_LOADER_FATAL, __VA_ARGS__)
+#define CriticalErrorMessageF(...) dri_message(_LOADER_WARNING, __VA_ARGS__)
 
 extern void *driOpenDriver(const char *driverName);
 
openSUSE Build Service is sponsored by