summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/wayland/weston/0001-make-error-portable.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-graphics/wayland/weston/0001-make-error-portable.patch')
-rw-r--r--meta/recipes-graphics/wayland/weston/0001-make-error-portable.patch22
1 files changed, 14 insertions, 8 deletions
diff --git a/meta/recipes-graphics/wayland/weston/0001-make-error-portable.patch b/meta/recipes-graphics/wayland/weston/0001-make-error-portable.patch
index e2213aca60..0671a45044 100644
--- a/meta/recipes-graphics/wayland/weston/0001-make-error-portable.patch
+++ b/meta/recipes-graphics/wayland/weston/0001-make-error-portable.patch
@@ -16,9 +16,11 @@ Upstream-Status: Submitted
16 3 files changed, 23 insertions(+), 1 deletion(-) 16 3 files changed, 23 insertions(+), 1 deletion(-)
17 create mode 100644 src/weston-error.h 17 create mode 100644 src/weston-error.h
18 18
19--- a/configure.ac 19Index: weston-3.0.0/configure.ac
20+++ b/configure.ac 20===================================================================
21@@ -60,6 +60,8 @@ AC_CHECK_DECL(CLOCK_MONOTONIC,[], 21--- weston-3.0.0.orig/configure.ac
22+++ weston-3.0.0/configure.ac
23@@ -103,6 +103,8 @@ AC_CHECK_DECL(CLOCK_MONOTONIC,[],
22 [[#include <time.h>]]) 24 [[#include <time.h>]])
23 AC_CHECK_HEADERS([execinfo.h]) 25 AC_CHECK_HEADERS([execinfo.h])
24 26
@@ -26,9 +28,11 @@ Upstream-Status: Submitted
26+ 28+
27 AC_CHECK_FUNCS([mkostemp strchrnul initgroups posix_fallocate]) 29 AC_CHECK_FUNCS([mkostemp strchrnul initgroups posix_fallocate])
28 30
29 COMPOSITOR_MODULES="wayland-server >= $WAYLAND_PREREQ_VERSION pixman-1 >= 0.25.2" 31 # check for libdrm as a build-time dependency only
32Index: weston-3.0.0/libweston/weston-error.h
33===================================================================
30--- /dev/null 34--- /dev/null
31+++ b/libweston/weston-error.h 35+++ weston-3.0.0/libweston/weston-error.h
32@@ -0,0 +1,20 @@ 36@@ -0,0 +1,20 @@
33+#ifndef _WESTON_ERROR_H 37+#ifndef _WESTON_ERROR_H
34+#define _WESTON_ERROR_H 38+#define _WESTON_ERROR_H
@@ -50,8 +54,10 @@ Upstream-Status: Submitted
50+ 54+
51+#endif 55+#endif
52+ 56+
53--- a/libweston/weston-launch.c 57Index: weston-3.0.0/libweston/weston-launch.c
54+++ b/libweston/weston-launch.c 58===================================================================
59--- weston-3.0.0.orig/libweston/weston-launch.c
60+++ weston-3.0.0/libweston/weston-launch.c
55@@ -33,7 +33,6 @@ 61@@ -33,7 +33,6 @@
56 #include <poll.h> 62 #include <poll.h>
57 #include <errno.h> 63 #include <errno.h>
@@ -60,7 +66,7 @@ Upstream-Status: Submitted
60 #include <getopt.h> 66 #include <getopt.h>
61 67
62 #include <sys/types.h> 68 #include <sys/types.h>
63@@ -59,6 +58,7 @@ 69@@ -60,6 +59,7 @@
64 #endif 70 #endif
65 71
66 #include "weston-launch.h" 72 #include "weston-launch.h"