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

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