diff options
Diffstat (limited to 'meta/recipes-graphics/drm/libdrm')
-rw-r--r-- | meta/recipes-graphics/drm/libdrm/0001-tests-kms-steal-crtc-Include-sys-select.h.patch | 33 | ||||
-rw-r--r-- | meta/recipes-graphics/drm/libdrm/installtests.patch | 24 |
2 files changed, 40 insertions, 17 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 new file mode 100644 index 0000000000..c18228ee0f --- /dev/null +++ b/meta/recipes-graphics/drm/libdrm/0001-tests-kms-steal-crtc-Include-sys-select.h.patch @@ -0,0 +1,33 @@ +From 46fb5516fb0ab17bcf46a0306a11e8966bb36e14 Mon Sep 17 00:00:00 2001 +From: Khem Raj <raj.khem@gmail.com> +Date: Tue, 29 Dec 2015 22:17:21 +0000 +Subject: [PATCH] tests/kms-steal-crtc: Include sys/select.h + +Fixes errors e.g. + +error: implicit declaration of function 'select' + +and missing definitions of FD_* defines + +Signed-off-by: Khem Raj <raj.khem@gmail.com> +--- +Upstream-Status: Submitted + + tests/kms/kms-steal-crtc.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/tests/kms/kms-steal-crtc.c b/tests/kms/kms-steal-crtc.c +index 2f7f327..24d70ab 100644 +--- a/tests/kms/kms-steal-crtc.c ++++ b/tests/kms/kms-steal-crtc.c +@@ -31,6 +31,7 @@ + #include <stdio.h> + #include <string.h> + #include <unistd.h> ++#include <sys/select.h> + + #include <drm_fourcc.h> + +-- +2.6.4 + diff --git a/meta/recipes-graphics/drm/libdrm/installtests.patch b/meta/recipes-graphics/drm/libdrm/installtests.patch index f460ef5ce9..30e0a61fd9 100644 --- a/meta/recipes-graphics/drm/libdrm/installtests.patch +++ b/meta/recipes-graphics/drm/libdrm/installtests.patch @@ -4,22 +4,12 @@ Upstream-Status: Inappropriate [configuration] Signed-off-by: Yu Ke <ke.yu@intel.com> -Index: libdrm-2.4.65/tests/Makefile.am +Index: libdrm-2.4.66/tests/Makefile.am =================================================================== ---- libdrm-2.4.65.orig/tests/Makefile.am -+++ libdrm-2.4.65/tests/Makefile.am -@@ -29,9 +29,11 @@ AM_CFLAGS = \ - - LDADD = $(top_builddir)/libdrm.la - --check_PROGRAMS = \ -- dristat \ -- drmstat -+bin_PROGRAMS = \ -+ dristat \ -+ drmstat -+ -+check_PROGRAMS = - - dristat_LDADD = -lm +--- libdrm-2.4.66.orig/tests/Makefile.am ++++ libdrm-2.4.66/tests/Makefile.am +@@ -73,3 +73,4 @@ TESTS += \ + endif + check_PROGRAMS += $(TESTS) ++bin_PROGRAMS = $(check_PROGRAMS) |