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

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