summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/mesa/files/0002-winsys-svga-drm-Include-sys-types.h.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-graphics/mesa/files/0002-winsys-svga-drm-Include-sys-types.h.patch')
-rw-r--r--meta/recipes-graphics/mesa/files/0002-winsys-svga-drm-Include-sys-types.h.patch35
1 files changed, 0 insertions, 35 deletions
diff --git a/meta/recipes-graphics/mesa/files/0002-winsys-svga-drm-Include-sys-types.h.patch b/meta/recipes-graphics/mesa/files/0002-winsys-svga-drm-Include-sys-types.h.patch
deleted file mode 100644
index aaeb0f11ba..0000000000
--- a/meta/recipes-graphics/mesa/files/0002-winsys-svga-drm-Include-sys-types.h.patch
+++ /dev/null
@@ -1,35 +0,0 @@
1From f212b6bed4bf265aec069c21cdc4b7c2d9cb32df Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 16 Aug 2017 18:58:20 -0700
4Subject: [PATCH 2/4] winsys/svga/drm: Include sys/types.h
5Organization: O.S. Systems Software LTDA.
6
7vmw_screen.h uses dev_t which is defines in sys/types.h
8this header is required to be included for getting dev_t
9definition. This issue happens on musl C library, it is hidden
10on glibc since sys/types.h is included through another
11system headers
12
13Signed-off-by: Khem Raj <raj.khem@gmail.com>
14Upstream-Status: Backport [7dfdfbf8c37e52e7b9b09f7d1d434edad3ebc864]
15Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
16Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
17---
18 src/gallium/winsys/svga/drm/vmw_screen.h | 1 +
19 1 file changed, 1 insertion(+)
20
21diff --git a/src/gallium/winsys/svga/drm/vmw_screen.h b/src/gallium/winsys/svga/drm/vmw_screen.h
22index a87c087d9c5..cb34fec48e7 100644
23--- a/src/gallium/winsys/svga/drm/vmw_screen.h
24+++ b/src/gallium/winsys/svga/drm/vmw_screen.h
25@@ -41,6 +41,7 @@
26 #include "svga_winsys.h"
27 #include "pipebuffer/pb_buffer_fenced.h"
28 #include <os/os_thread.h>
29+#include <sys/types.h>
30
31 #define VMW_GMR_POOL_SIZE (16*1024*1024)
32 #define VMW_QUERY_POOL_SIZE (8192)
33--
342.21.0
35