Blame SOURCES/0001-glx-Add-another-fallback-library-name.patch

0c95ae
From 24606973bfabd75285fbd489264235167ba0f44c Mon Sep 17 00:00:00 2001
0c95ae
From: Adam Jackson <ajax@redhat.com>
0c95ae
Date: Thu, 14 Jun 2018 11:25:21 -0400
0c95ae
Subject: [PATCH] glx: Add another fallback library name
0c95ae
0c95ae
This is mostly to avoid file conflicts with external packaging.
0c95ae
0c95ae
Signed-off-by: Adam Jackson <ajax@redhat.com>
0c95ae
---
0c95ae
 src/GLX/libglxmapping.c | 4 ++++
0c95ae
 1 file changed, 4 insertions(+)
0c95ae
0c95ae
diff --git a/src/GLX/libglxmapping.c b/src/GLX/libglxmapping.c
0c95ae
index be384f8..2016a04 100644
0c95ae
--- a/src/GLX/libglxmapping.c
0c95ae
+++ b/src/GLX/libglxmapping.c
0c95ae
@@ -591,6 +591,10 @@ __GLXvendorInfo *__glXLookupVendorByScreen(Display *dpy, const int screen)
0c95ae
             vendor = __glXLookupVendorByName(FALLBACK_VENDOR_NAME);
0c95ae
         }
0c95ae
 
0c95ae
+        if (!vendor) {
0c95ae
+            vendor = __glXLookupVendorByName("system");
0c95ae
+        }
0c95ae
+
0c95ae
         dpyInfo->vendors[screen] = vendor;
0c95ae
     }
0c95ae
     __glvndPthreadFuncs.rwlock_unlock(&dpyInfo->vendorLock);
0c95ae
-- 
0c95ae
2.17.0
0c95ae