diff options
author | CoprDistGit <infra@openeuler.org> | 2024-08-06 02:25:36 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-08-06 02:25:36 +0000 |
commit | 1f10149ec30f9c32835423620f597f7796e51a0b (patch) | |
tree | 7132e7cf74c01f3dc05db5261bf0648dfaa83a25 /0001-glx-Add-another-fallback-library-name.patch | |
parent | 30082fdefe94af05a610c9c03c4ee3d4f8ee098b (diff) |
automatic import of libglvndopeneuler24.03_LTS
Diffstat (limited to '0001-glx-Add-another-fallback-library-name.patch')
-rw-r--r-- | 0001-glx-Add-another-fallback-library-name.patch | 30 |
1 files changed, 30 insertions, 0 deletions
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 <ajax@redhat.com> +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 <ajax@redhat.com> +--- + 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 + |