From 1f10149ec30f9c32835423620f597f7796e51a0b Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Tue, 6 Aug 2024 02:25:36 +0000 Subject: automatic import of libglvnd --- 0001-glx-Add-another-fallback-library-name.patch | 30 ++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 0001-glx-Add-another-fallback-library-name.patch (limited to '0001-glx-Add-another-fallback-library-name.patch') diff --git a/0001-glx-Add-another-fallback-library-name.patch b/0001-glx-Add-another-fallback-library-name.patch new file mode 100644 index 0000000..0c8cb95 --- /dev/null +++ b/0001-glx-Add-another-fallback-library-name.patch @@ -0,0 +1,30 @@ +From 24606973bfabd75285fbd489264235167ba0f44c Mon Sep 17 00:00:00 2001 +From: Adam Jackson +Date: Thu, 14 Jun 2018 11:25:21 -0400 +Subject: [PATCH] glx: Add another fallback library name + +This is mostly to avoid file conflicts with external packaging. + +Signed-off-by: Adam Jackson +--- + src/GLX/libglxmapping.c | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/src/GLX/libglxmapping.c b/src/GLX/libglxmapping.c +index be384f8..2016a04 100644 +--- a/src/GLX/libglxmapping.c ++++ b/src/GLX/libglxmapping.c +@@ -591,6 +591,10 @@ __GLXvendorInfo *__glXLookupVendorByScreen(Display *dpy, const int screen) + vendor = __glXLookupVendorByName(FALLBACK_VENDOR_NAME); + } + ++ if (!vendor) { ++ vendor = __glXLookupVendorByName("system"); ++ } ++ + dpyInfo->vendors[screen] = vendor; + } + __glvndPthreadFuncs.rwlock_unlock(&dpyInfo->vendorLock); +-- +2.17.0 + -- cgit v1.2.3