summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/libepoxy
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-graphics/libepoxy')
-rw-r--r--meta/recipes-graphics/libepoxy/files/0001-dispatch_common.h-define-also-EGL_NO_X11.patch26
-rw-r--r--meta/recipes-graphics/libepoxy/libepoxy_1.5.4.bb1
2 files changed, 27 insertions, 0 deletions
diff --git a/meta/recipes-graphics/libepoxy/files/0001-dispatch_common.h-define-also-EGL_NO_X11.patch b/meta/recipes-graphics/libepoxy/files/0001-dispatch_common.h-define-also-EGL_NO_X11.patch
new file mode 100644
index 0000000000..7262945181
--- /dev/null
+++ b/meta/recipes-graphics/libepoxy/files/0001-dispatch_common.h-define-also-EGL_NO_X11.patch
@@ -0,0 +1,26 @@
1From 6f15cc28d17cfdd86f5974f06ad97b8afedd5627 Mon Sep 17 00:00:00 2001
2From: Martin Jansa <Martin.Jansa@gmail.com>
3Date: Fri, 25 Oct 2019 11:09:34 +0000
4Subject: [PATCH] dispatch_common.h: define also EGL_NO_X11
5
6MESA_EGL_NO_X11_HEADERS was renamed to EGL_NO_X11 in:
7https://github.com/mesa3d/mesa/commit/6202a13b71e18dc31ba7e2f4ea915b67eacc1ddb
8
9Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
10Upstream-Status: Pending
11---
12 src/dispatch_common.h | 1 +
13 1 file changed, 1 insertion(+)
14
15diff --git a/src/dispatch_common.h b/src/dispatch_common.h
16index dcb3a35..c206253 100644
17--- a/src/dispatch_common.h
18+++ b/src/dispatch_common.h
19@@ -52,6 +52,7 @@
20 * should do the same
21 */
22 # define MESA_EGL_NO_X11_HEADERS 1
23+# define EGL_NO_X11 1
24 # endif
25 #include "epoxy/egl.h"
26 #endif
diff --git a/meta/recipes-graphics/libepoxy/libepoxy_1.5.4.bb b/meta/recipes-graphics/libepoxy/libepoxy_1.5.4.bb
index 4caf672369..af9867407e 100644
--- a/meta/recipes-graphics/libepoxy/libepoxy_1.5.4.bb
+++ b/meta/recipes-graphics/libepoxy/libepoxy_1.5.4.bb
@@ -10,6 +10,7 @@ LICENSE = "MIT"
10LIC_FILES_CHKSUM = "file://COPYING;md5=58ef4c80d401e07bd9ee8b6b58cf464b" 10LIC_FILES_CHKSUM = "file://COPYING;md5=58ef4c80d401e07bd9ee8b6b58cf464b"
11 11
12SRC_URI = "https://github.com/anholt/${BPN}/releases/download/${PV}/${BP}.tar.xz \ 12SRC_URI = "https://github.com/anholt/${BPN}/releases/download/${PV}/${BP}.tar.xz \
13 file://0001-dispatch_common.h-define-also-EGL_NO_X11.patch \
13 " 14 "
14SRC_URI[md5sum] = "00f47ad447321f9dc59f85bc1c9d0467" 15SRC_URI[md5sum] = "00f47ad447321f9dc59f85bc1c9d0467"
15SRC_URI[sha256sum] = "0bd2cc681dfeffdef739cb29913f8c3caa47a88a451fd2bc6e606c02997289d2" 16SRC_URI[sha256sum] = "0bd2cc681dfeffdef739cb29913f8c3caa47a88a451fd2bc6e606c02997289d2"