summary refs log tree commit diff
path: root/pkgs/applications/graphics/apitrace/glibc-2.34-compat.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/graphics/apitrace/glibc-2.34-compat.patch')
-rw-r--r--pkgs/applications/graphics/apitrace/glibc-2.34-compat.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/pkgs/applications/graphics/apitrace/glibc-2.34-compat.patch b/pkgs/applications/graphics/apitrace/glibc-2.34-compat.patch
new file mode 100644
index 0000000000000..3f8cebe030c04
--- /dev/null
+++ b/pkgs/applications/graphics/apitrace/glibc-2.34-compat.patch
@@ -0,0 +1,13 @@
+diff --git a/wrappers/dlsym.cpp b/wrappers/dlsym.cpp
+index 2eda082..0c0c8ee 100644
+--- a/wrappers/dlsym.cpp
++++ b/wrappers/dlsym.cpp
+@@ -34,7 +34,7 @@
+ #include "os.hpp"
+ 
+ 
+-#ifdef __GLIBC__
++#if defined(__GLIBC__) && __GLIBC__ == 2 && __GLIBC_MINOR__ < 34
+ 
+ 
+ #include <dlfcn.h>