diff options
Diffstat (limited to 'meta/recipes-graphics/mesa/mesa/fix-egl-compilation-without-x11-headers.patch')
-rw-r--r-- | meta/recipes-graphics/mesa/mesa/fix-egl-compilation-without-x11-headers.patch | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/meta/recipes-graphics/mesa/mesa/fix-egl-compilation-without-x11-headers.patch b/meta/recipes-graphics/mesa/mesa/fix-egl-compilation-without-x11-headers.patch deleted file mode 100644 index 6436b592b4..0000000000 --- a/meta/recipes-graphics/mesa/mesa/fix-egl-compilation-without-x11-headers.patch +++ /dev/null | |||
@@ -1,32 +0,0 @@ | |||
1 | Upstream-Status: Submitted | ||
2 | |||
3 | Picked from mesa-dev mailing list: http://marc.info/?l=mesa3d-dev&m=133053004130468 | ||
4 | |||
5 | From: Benjamin Franzke <benjaminfranzke@googlemail.com> | ||
6 | Date: Wed, 29 Feb 2012 15:36:23 +0100 | ||
7 | Subject: [PATCH] configure: Fix egl compilation without x11 headers | ||
8 | |||
9 | We dont want eglplatform.h to typedef egl native types | ||
10 | to x11 types, when x11 headers are not available. | ||
11 | --- | ||
12 | configure.ac | 4 ++++ | ||
13 | 1 file changed, 4 insertions(+) | ||
14 | |||
15 | diff --git a/configure.ac b/configure.ac | ||
16 | index b384b44..8eb8459 100644 | ||
17 | --- a/configure.ac | ||
18 | +++ b/configure.ac | ||
19 | @@ -1262,6 +1262,10 @@ if test "x$enable_egl" = xyes; then | ||
20 | |||
21 | AC_CHECK_FUNC(mincore, [DEFINES="$DEFINES -DHAVE_MINCORE"]) | ||
22 | |||
23 | + if test "$have_x" != yes; then | ||
24 | + DEFINES="$DEFINES -DMESA_EGL_NO_X11_HEADERS" | ||
25 | + fi | ||
26 | + | ||
27 | if test "$enable_static" != yes; then | ||
28 | # build egl_glx when libGL is built | ||
29 | if test "x$enable_glx" = xyes; then | ||
30 | -- | ||
31 | 1.7.10.4 | ||
32 | |||