diff options
| author | Mihai Lindner <mihai.lindner@nxp.com> | 2019-12-16 15:18:37 +0200 |
|---|---|---|
| committer | Otavio Salvador <otavio@ossystems.com.br> | 2019-12-16 14:06:39 -0300 |
| commit | 708cf0744cd073f6964cb5f3684ea45d30701c2c (patch) | |
| tree | 33eb1ee63b62636f9dfa857389b2380ea6b3fd21 /recipes-graphics/drm/libdrm/musl-ioctl.patch | |
| parent | a4fdb4074644bda09b46490163886065b4c00aab (diff) | |
| download | meta-freescale-708cf0744cd073f6964cb5f3684ea45d30701c2c.tar.gz | |
libdrm: Upgrade to 2.4.99.imx
Refresh recipe base from poky, drops patches no longer used.
Signed-off-by: Mihai Lindner <mihai.lindner@nxp.com>
Diffstat (limited to 'recipes-graphics/drm/libdrm/musl-ioctl.patch')
| -rw-r--r-- | recipes-graphics/drm/libdrm/musl-ioctl.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/recipes-graphics/drm/libdrm/musl-ioctl.patch b/recipes-graphics/drm/libdrm/musl-ioctl.patch new file mode 100644 index 000000000..e3d6c5b85 --- /dev/null +++ b/recipes-graphics/drm/libdrm/musl-ioctl.patch | |||
| @@ -0,0 +1,35 @@ | |||
| 1 | Upstream-Status: Submitted | ||
| 2 | Signed-off-by: Ross Burton <ross.burton@intel.com> | ||
| 3 | |||
| 4 | From 46c0fd6c827a8cb4d04e067bf04fab579ac4712e Mon Sep 17 00:00:00 2001 | ||
| 5 | From: Ross Burton <ross.burton@intel.com> | ||
| 6 | Date: Mon, 18 Jun 2018 15:07:03 +0100 | ||
| 7 | Subject: [PATCH] tests/nouveau/threaded: adapt ioctl signature | ||
| 8 | |||
| 9 | POSIX says ioctl() has the signature (int, int, ...) but glibc has decided to | ||
| 10 | use (int, unsigned long int, ...) instead. | ||
| 11 | |||
| 12 | Use a #ifdef to adapt the replacement function as appropriate. | ||
| 13 | --- | ||
| 14 | tests/nouveau/threaded.c | 4 ++++ | ||
| 15 | 1 file changed, 4 insertions(+) | ||
| 16 | |||
| 17 | diff --git a/tests/nouveau/threaded.c b/tests/nouveau/threaded.c | ||
| 18 | index 3669bcd3..e1c27c01 100644 | ||
| 19 | --- a/tests/nouveau/threaded.c | ||
| 20 | +++ b/tests/nouveau/threaded.c | ||
| 21 | @@ -36,7 +36,11 @@ static int failed; | ||
| 22 | |||
| 23 | static int import_fd; | ||
| 24 | |||
| 25 | +#ifdef __GLIBC__ | ||
| 26 | int ioctl(int fd, unsigned long request, ...) | ||
| 27 | +#else | ||
| 28 | +int ioctl(int fd, int request, ...) | ||
| 29 | +#endif | ||
| 30 | { | ||
| 31 | va_list va; | ||
| 32 | int ret; | ||
| 33 | -- | ||
| 34 | 2.11.0 | ||
| 35 | |||
