diff options
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.patch | 35 |
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 @@ | |||
1 | From f212b6bed4bf265aec069c21cdc4b7c2d9cb32df Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Wed, 16 Aug 2017 18:58:20 -0700 | ||
4 | Subject: [PATCH 2/4] winsys/svga/drm: Include sys/types.h | ||
5 | Organization: O.S. Systems Software LTDA. | ||
6 | |||
7 | vmw_screen.h uses dev_t which is defines in sys/types.h | ||
8 | this header is required to be included for getting dev_t | ||
9 | definition. This issue happens on musl C library, it is hidden | ||
10 | on glibc since sys/types.h is included through another | ||
11 | system headers | ||
12 | |||
13 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
14 | Upstream-Status: Backport [7dfdfbf8c37e52e7b9b09f7d1d434edad3ebc864] | ||
15 | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> | ||
16 | Signed-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 | |||
21 | diff --git a/src/gallium/winsys/svga/drm/vmw_screen.h b/src/gallium/winsys/svga/drm/vmw_screen.h | ||
22 | index 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 | -- | ||
34 | 2.21.0 | ||
35 | |||