diff options
Diffstat (limited to 'meta/recipes-graphics/drm/libdrm')
| -rw-r--r-- | meta/recipes-graphics/drm/libdrm/fix_O_CLOEXEC_undeclared.patch | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/meta/recipes-graphics/drm/libdrm/fix_O_CLOEXEC_undeclared.patch b/meta/recipes-graphics/drm/libdrm/fix_O_CLOEXEC_undeclared.patch deleted file mode 100644 index 4708bf1ebb..0000000000 --- a/meta/recipes-graphics/drm/libdrm/fix_O_CLOEXEC_undeclared.patch +++ /dev/null | |||
| @@ -1,24 +0,0 @@ | |||
| 1 | drmdevice.c: define _GNU_SOURCE | ||
| 2 | |||
| 3 | Include config.h to fix this build error with uclibc: | ||
| 4 | |||
| 5 | libdrm-2.4.66/tests/drmdevice.c: In function 'main': | ||
| 6 | libdrm-2.4.66/tests/drmdevice.c:96:60: error: | ||
| 7 | 'O_CLOEXEC' undeclared (first use in this function) | ||
| 8 | fd = open(devices[i]->nodes[j],O_RDONLY | O_CLOEXEC, 0); | ||
| 9 | |||
| 10 | Upstream-Status: Pending | ||
| 11 | |||
| 12 | Signed-off-by: Maxin B. John <maxin.john@intel.com> | ||
| 13 | --- | ||
| 14 | diff -Naur libdrm-2.4.66-orig/tests/drmdevice.c libdrm-2.4.66/tests/drmdevice.c | ||
| 15 | --- libdrm-2.4.66-orig/tests/drmdevice.c 2016-02-23 11:34:02.054904502 +0200 | ||
| 16 | +++ libdrm-2.4.66/tests/drmdevice.c 2016-02-23 11:35:34.371750383 +0200 | ||
| 17 | @@ -21,6 +21,7 @@ | ||
| 18 | * | ||
| 19 | */ | ||
| 20 | |||
| 21 | +#include <config.h> | ||
| 22 | #include <errno.h> | ||
| 23 | #include <stdio.h> | ||
| 24 | #include <stdlib.h> | ||
