diff options
author | Tom Hochstein <tom.hochstein@nxp.com> | 2019-05-23 13:08:39 -0500 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2019-09-12 14:45:07 -0300 |
commit | 1e2ff11ab06320e69e617d80f11e2f8094b931fc (patch) | |
tree | f25f3a615674c8113bc374a5e8ac28d13047eba2 /recipes-graphics/wayland/weston/0001-g2d-renderer-Fix-open-function-build-break.patch | |
parent | b1781d2ea8b7fe8023a5e624671cb183e22142bd (diff) | |
download | meta-freescale-1e2ff11ab06320e69e617d80f11e2f8094b931fc.tar.gz |
weston: Upgrade to 5.0.0.imx
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Diffstat (limited to 'recipes-graphics/wayland/weston/0001-g2d-renderer-Fix-open-function-build-break.patch')
-rw-r--r-- | recipes-graphics/wayland/weston/0001-g2d-renderer-Fix-open-function-build-break.patch | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/recipes-graphics/wayland/weston/0001-g2d-renderer-Fix-open-function-build-break.patch b/recipes-graphics/wayland/weston/0001-g2d-renderer-Fix-open-function-build-break.patch deleted file mode 100644 index 6f676048..00000000 --- a/recipes-graphics/wayland/weston/0001-g2d-renderer-Fix-open-function-build-break.patch +++ /dev/null | |||
@@ -1,33 +0,0 @@ | |||
1 | From 7857e5aa2459b2746e062ae59ae0240c4af7af5d Mon Sep 17 00:00:00 2001 | ||
2 | From: Tom Hochstein <tom.hochstein@nxp.com> | ||
3 | Date: Mon, 29 Oct 2018 21:40:32 +0000 | ||
4 | Subject: [PATCH] g2d-renderer: Fix open function build break | ||
5 | |||
6 | | from ../git/libweston/g2d-renderer.c:40: | ||
7 | | In function 'open', | ||
8 | | inlined from 'g2d_renderer_create' at ../git/libweston/g2d-renderer.c:1629:2: | ||
9 | | /home/r60874/upstream/fsl-xwayland/tmp/work/cortexa9t2hf-neon-mx6qdl-fsl-linux-gnueabi/weston/4.0.0.imx-r0/recipe- sysroot/usr/include/bits/fcntl2.h:50:4: error: call to '__open_missing_mode' declared with attribute error: open wit h O_CREAT or O_TMPFILE in second argument needs 3 arguments | ||
10 | | __open_missing_mode (); | ||
11 | | ^~~~~~~~~~~~~~~~~~~~~~ | ||
12 | | Makefile:5266: recipe for target 'libweston/g2d_renderer_la-g2d-renderer.lo' failed | ||
13 | |||
14 | Upstream-Status: Inappropriate [i.MX-specific] | ||
15 | |||
16 | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> | ||
17 | --- | ||
18 | libweston/g2d-renderer.c | 4 ++-- | ||
19 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
20 | |||
21 | Index: git/libweston/g2d-renderer.c | ||
22 | =================================================================== | ||
23 | --- git.orig/libweston/g2d-renderer.c | ||
24 | +++ git/libweston/g2d-renderer.c | ||
25 | @@ -1626,7 +1626,7 @@ g2d_renderer_create(struct weston_compos | ||
26 | path = malloc(strlen(dir) + 40); | ||
27 | strcpy(path, dir); | ||
28 | strcat(path, "/use-g2d-renderer"); | ||
29 | - close(open(path, O_CREAT | O_RDWR)); | ||
30 | + close(open(path, O_CREAT | O_RDWR, 0600)); | ||
31 | free(path); | ||
32 | |||
33 | return 0; | ||