mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 00:39:46 +00:00
libdrm: drop uclibc-specific patch
This patch isn't needed for musl or glibc, so drop it. (From OE-Core rev: 46275ed3de30e6095b0d7ef71aad842e5ea9fe30) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
e4bacbf94a
commit
0b8d09b2df
@@ -1,24 +0,0 @@
|
|||||||
drmdevice.c: define _GNU_SOURCE
|
|
||||||
|
|
||||||
Include config.h to fix this build error with uclibc:
|
|
||||||
|
|
||||||
libdrm-2.4.66/tests/drmdevice.c: In function 'main':
|
|
||||||
libdrm-2.4.66/tests/drmdevice.c:96:60: error:
|
|
||||||
'O_CLOEXEC' undeclared (first use in this function)
|
|
||||||
fd = open(devices[i]->nodes[j],O_RDONLY | O_CLOEXEC, 0);
|
|
||||||
|
|
||||||
Upstream-Status: Pending
|
|
||||||
|
|
||||||
Signed-off-by: Maxin B. John <maxin.john@intel.com>
|
|
||||||
---
|
|
||||||
diff -Naur libdrm-2.4.66-orig/tests/drmdevice.c libdrm-2.4.66/tests/drmdevice.c
|
|
||||||
--- libdrm-2.4.66-orig/tests/drmdevice.c 2016-02-23 11:34:02.054904502 +0200
|
|
||||||
+++ libdrm-2.4.66/tests/drmdevice.c 2016-02-23 11:35:34.371750383 +0200
|
|
||||||
@@ -21,6 +21,7 @@
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
+#include <config.h>
|
|
||||||
#include <errno.h>
|
|
||||||
#include <stdio.h>
|
|
||||||
#include <stdlib.h>
|
|
||||||
@@ -12,7 +12,6 @@ DEPENDS = "libpthread-stubs libpciaccess"
|
|||||||
|
|
||||||
SRC_URI = "http://dri.freedesktop.org/libdrm/${BP}.tar.bz2 \
|
SRC_URI = "http://dri.freedesktop.org/libdrm/${BP}.tar.bz2 \
|
||||||
file://installtests.patch \
|
file://installtests.patch \
|
||||||
file://fix_O_CLOEXEC_undeclared.patch \
|
|
||||||
file://0001-configure.ac-Allow-explicit-enabling-of-cunit-tests.patch \
|
file://0001-configure.ac-Allow-explicit-enabling-of-cunit-tests.patch \
|
||||||
"
|
"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user