diff options
author | Khem Raj <raj.khem@gmail.com> | 2016-01-22 00:36:47 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-30 11:36:58 +0000 |
commit | 52413d03b5a728eb2f47a2ecfab6af5158106841 (patch) | |
tree | 1631f1fea1599424efaf165620203c1b8d339cae /meta/recipes-graphics | |
parent | 66e215f13f213da5af162aa80b741165d559570b (diff) | |
download | poky-52413d03b5a728eb2f47a2ecfab6af5158106841.tar.gz |
libdrm: Refresh patch to match upstream submission
The version submitted upstream has been updated to this one
after feedback
(From OE-Core rev: d178082b0577682ffd6549d8867636cbec3a7d04)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics')
-rw-r--r-- | meta/recipes-graphics/drm/libdrm/0001-tests-kms-steal-crtc-Include-sys-select.h.patch | 83 |
1 files changed, 73 insertions, 10 deletions
diff --git a/meta/recipes-graphics/drm/libdrm/0001-tests-kms-steal-crtc-Include-sys-select.h.patch b/meta/recipes-graphics/drm/libdrm/0001-tests-kms-steal-crtc-Include-sys-select.h.patch index c18228ee0f..e4ecbac16c 100644 --- a/meta/recipes-graphics/drm/libdrm/0001-tests-kms-steal-crtc-Include-sys-select.h.patch +++ b/meta/recipes-graphics/drm/libdrm/0001-tests-kms-steal-crtc-Include-sys-select.h.patch | |||
@@ -1,33 +1,96 @@ | |||
1 | From 46fb5516fb0ab17bcf46a0306a11e8966bb36e14 Mon Sep 17 00:00:00 2001 | 1 | From fb53d7a1be116a172b56625f290fcf88b6d158ca Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Tue, 29 Dec 2015 22:17:21 +0000 | 3 | Date: Wed, 20 Jan 2016 05:23:00 +0000 |
4 | Subject: [PATCH] tests/kms-steal-crtc: Include sys/select.h | 4 | Subject: [PATCH] tests: Include sys/select.h |
5 | 5 | ||
6 | Fixes errors e.g. | 6 | Used in compliance with POSIX 2001/2008 |
7 | 7 | ||
8 | Fixes errors e.g. | ||
8 | error: implicit declaration of function 'select' | 9 | error: implicit declaration of function 'select' |
9 | 10 | ||
10 | and missing definitions of FD_* defines | 11 | and helps with missing definitions of FD_* defines |
11 | 12 | ||
12 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 13 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
14 | Reviewed-by: Thierry Reding <thierry.reding@gmail.com> | ||
13 | --- | 15 | --- |
14 | Upstream-Status: Submitted | 16 | Upstream-Status: Submitted |
15 | 17 | ||
16 | tests/kms/kms-steal-crtc.c | 1 + | 18 | configure.ac | 2 +- |
17 | 1 file changed, 1 insertion(+) | 19 | tests/kms/kms-steal-crtc.c | 3 +++ |
20 | tests/kms/kms-universal-planes.c | 3 +++ | ||
21 | tests/modetest/modetest.c | 3 +++ | ||
22 | tests/vbltest/vbltest.c | 3 +++ | ||
23 | 5 files changed, 13 insertions(+), 1 deletion(-) | ||
18 | 24 | ||
25 | diff --git a/configure.ac b/configure.ac | ||
26 | index 057a846..258e2f6 100644 | ||
27 | --- a/configure.ac | ||
28 | +++ b/configure.ac | ||
29 | @@ -53,7 +53,7 @@ AC_USE_SYSTEM_EXTENSIONS | ||
30 | AC_SYS_LARGEFILE | ||
31 | AC_FUNC_ALLOCA | ||
32 | |||
33 | -AC_CHECK_HEADERS([sys/mkdev.h sys/sysctl.h]) | ||
34 | +AC_CHECK_HEADERS([sys/mkdev.h sys/sysctl.h sys/select.h]) | ||
35 | |||
36 | # Initialize libtool | ||
37 | LT_PREREQ([2.2]) | ||
19 | diff --git a/tests/kms/kms-steal-crtc.c b/tests/kms/kms-steal-crtc.c | 38 | diff --git a/tests/kms/kms-steal-crtc.c b/tests/kms/kms-steal-crtc.c |
20 | index 2f7f327..24d70ab 100644 | 39 | index 2f7f327..497772e 100644 |
21 | --- a/tests/kms/kms-steal-crtc.c | 40 | --- a/tests/kms/kms-steal-crtc.c |
22 | +++ b/tests/kms/kms-steal-crtc.c | 41 | +++ b/tests/kms/kms-steal-crtc.c |
23 | @@ -31,6 +31,7 @@ | 42 | @@ -31,6 +31,9 @@ |
43 | #include <stdio.h> | ||
44 | #include <string.h> | ||
45 | #include <unistd.h> | ||
46 | +#ifdef HAVE_SYS_SELECT_H | ||
47 | +#include <sys/select.h> | ||
48 | +#endif | ||
49 | |||
50 | #include <drm_fourcc.h> | ||
51 | |||
52 | diff --git a/tests/kms/kms-universal-planes.c b/tests/kms/kms-universal-planes.c | ||
53 | index 9151231..d8e5fc4 100644 | ||
54 | --- a/tests/kms/kms-universal-planes.c | ||
55 | +++ b/tests/kms/kms-universal-planes.c | ||
56 | @@ -32,6 +32,9 @@ | ||
24 | #include <stdio.h> | 57 | #include <stdio.h> |
25 | #include <string.h> | 58 | #include <string.h> |
26 | #include <unistd.h> | 59 | #include <unistd.h> |
60 | +#ifdef HAVE_SYS_SELECT_H | ||
27 | +#include <sys/select.h> | 61 | +#include <sys/select.h> |
62 | +#endif | ||
28 | 63 | ||
29 | #include <drm_fourcc.h> | 64 | #include <drm_fourcc.h> |
65 | #include "xf86drm.h" | ||
66 | diff --git a/tests/modetest/modetest.c b/tests/modetest/modetest.c | ||
67 | index 22e3e81..d5a4062 100644 | ||
68 | --- a/tests/modetest/modetest.c | ||
69 | +++ b/tests/modetest/modetest.c | ||
70 | @@ -55,6 +55,9 @@ | ||
71 | #include <errno.h> | ||
72 | #include <sys/poll.h> | ||
73 | #include <sys/time.h> | ||
74 | +#ifdef HAVE_SYS_SELECT_H | ||
75 | +#include <sys/select.h> | ||
76 | +#endif | ||
77 | |||
78 | #include "xf86drm.h" | ||
79 | #include "xf86drmMode.h" | ||
80 | diff --git a/tests/vbltest/vbltest.c b/tests/vbltest/vbltest.c | ||
81 | index 1833321..086407e 100644 | ||
82 | --- a/tests/vbltest/vbltest.c | ||
83 | +++ b/tests/vbltest/vbltest.c | ||
84 | @@ -37,6 +37,9 @@ | ||
85 | #include <errno.h> | ||
86 | #include <sys/poll.h> | ||
87 | #include <sys/time.h> | ||
88 | +#ifdef HAVE_SYS_SELECT_H | ||
89 | +#include <sys/select.h> | ||
90 | +#endif | ||
30 | 91 | ||
92 | #include "xf86drm.h" | ||
93 | #include "xf86drmMode.h" | ||
31 | -- | 94 | -- |
32 | 2.6.4 | 95 | 2.7.0 |
33 | 96 | ||