summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-benchmark/glmark2/files/0001-Fix-clang-warnings.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-benchmark/glmark2/files/0001-Fix-clang-warnings.patch')
-rw-r--r--meta-oe/recipes-benchmark/glmark2/files/0001-Fix-clang-warnings.patch31
1 files changed, 0 insertions, 31 deletions
diff --git a/meta-oe/recipes-benchmark/glmark2/files/0001-Fix-clang-warnings.patch b/meta-oe/recipes-benchmark/glmark2/files/0001-Fix-clang-warnings.patch
deleted file mode 100644
index cdf09faec..000000000
--- a/meta-oe/recipes-benchmark/glmark2/files/0001-Fix-clang-warnings.patch
+++ /dev/null
@@ -1,31 +0,0 @@
1From 35e9f80518d666db5f9c62e8072ffbc307b4af4f Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 26 Aug 2017 08:30:01 -0700
4Subject: [PATCH] Fix clang warnings
5
6../src/native-state-drm.cpp:334:20: error: cannot pass object of non-trivial type 'std::__cxx11::basic_string<char>' through variadic function; call will abort at runtime [-Wnon-pod-varargs]
7 dev_path);
8 ^
91 error generated.
10
11Signed-off-by: Khem Raj <raj.khem@gmail.com>
12---
13 src/native-state-drm.cpp | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16diff --git a/src/native-state-drm.cpp b/src/native-state-drm.cpp
17index dc2b323..62566ee 100644
18--- a/src/native-state-drm.cpp
19+++ b/src/native-state-drm.cpp
20@@ -331,7 +331,7 @@ static int open_using_udev_scan()
21 if (!valid_fd(fd)) {
22 // %m is GLIBC specific... Maybe use strerror here...
23 Log::error("Tried to use '%s' but failed.\nReason : %m",
24- dev_path);
25+ dev_path.c_str());
26 }
27 else
28 Log::debug("Success!\n");
29--
302.14.1
31