summaryrefslogtreecommitdiff
path: root/patches/mesa-mesa/0004-shader-disk-cache-requires-dladdr.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/mesa-mesa/0004-shader-disk-cache-requires-dladdr.patch')
-rw-r--r--patches/mesa-mesa/0004-shader-disk-cache-requires-dladdr.patch25
1 files changed, 0 insertions, 25 deletions
diff --git a/patches/mesa-mesa/0004-shader-disk-cache-requires-dladdr.patch b/patches/mesa-mesa/0004-shader-disk-cache-requires-dladdr.patch
deleted file mode 100644
index 7fa2ec0..0000000
--- a/patches/mesa-mesa/0004-shader-disk-cache-requires-dladdr.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From d7fc5a7a4cc23af35278f23c76ab644ba2fbea42 Mon Sep 17 00:00:00 2001
-From: Jon Turney <jon.turney@dronecode.org.uk>
-Date: Sun, 5 Mar 2017 17:17:23 +0000
-Subject: [PATCH] shader disk cache requires dladdr()
-
----
- src/util/disk_cache.h | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/util/disk_cache.h b/src/util/disk_cache.h
-index b7c0df2..08261c7 100644
---- a/src/util/disk_cache.h
-+++ b/src/util/disk_cache.h
-@@ -45,7 +45,7 @@ struct disk_cache;
- static inline bool
- disk_cache_get_function_timestamp(void *ptr, uint32_t* timestamp)
- {
--#ifdef ENABLE_SHADER_CACHE
-+#if defined(ENABLE_SHADER_CACHE) && defined(HAVE_DLADDR)
- Dl_info info;
- struct stat st;
- if (!dladdr(ptr, &info) || !info.dli_fname) {
---
-2.8.3
-