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

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