summaryrefslogtreecommitdiffstats
path: root/recipes-graphics/wayland/weston/0001-g2d-renderer-Fix-open-function-build-break.patch
diff options
context:
space:
mode:
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.patch33
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 @@
1From 7857e5aa2459b2746e062ae59ae0240c4af7af5d Mon Sep 17 00:00:00 2001
2From: Tom Hochstein <tom.hochstein@nxp.com>
3Date: Mon, 29 Oct 2018 21:40:32 +0000
4Subject: [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
14Upstream-Status: Inappropriate [i.MX-specific]
15
16Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
17---
18 libweston/g2d-renderer.c | 4 ++--
19 1 file changed, 2 insertions(+), 2 deletions(-)
20
21Index: 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;