diff options
Diffstat (limited to 'meta/recipes-graphics/mesa/mesa-demos/0012-Fix-gles-configurability.patch')
-rw-r--r-- | meta/recipes-graphics/mesa/mesa-demos/0012-Fix-gles-configurability.patch | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/meta/recipes-graphics/mesa/mesa-demos/0012-Fix-gles-configurability.patch b/meta/recipes-graphics/mesa/mesa-demos/0012-Fix-gles-configurability.patch new file mode 100644 index 0000000000..0b437a47d0 --- /dev/null +++ b/meta/recipes-graphics/mesa/mesa-demos/0012-Fix-gles-configurability.patch | |||
@@ -0,0 +1,39 @@ | |||
1 | Index: mesa-demos-8.2.0/src/egl/opengles1/Makefile.am | ||
2 | =================================================================== | ||
3 | --- mesa-demos-8.2.0.orig/src/egl/opengles1/Makefile.am 2016-07-29 10:52:50.131729547 -0500 | ||
4 | +++ mesa-demos-8.2.0/src/egl/opengles1/Makefile.am 2016-07-29 10:59:26.000000000 -0500 | ||
5 | @@ -36,6 +36,8 @@ | ||
6 | $(EGL_LIBS) \ | ||
7 | -lm | ||
8 | |||
9 | +if HAVE_EGL | ||
10 | +if HAVE_GLESV1 | ||
11 | bin_PROGRAMS = | ||
12 | |||
13 | if HAVE_X11 | ||
14 | @@ -76,3 +78,5 @@ | ||
15 | torus_x11_LDADD = ../eglut/libeglut_x11.la | ||
16 | tri_x11_LDADD = ../eglut/libeglut_x11.la | ||
17 | endif | ||
18 | +endif | ||
19 | +endif | ||
20 | Index: mesa-demos-8.2.0/src/egl/opengles2/Makefile.am | ||
21 | =================================================================== | ||
22 | --- mesa-demos-8.2.0.orig/src/egl/opengles2/Makefile.am 2016-07-29 10:52:50.131729547 -0500 | ||
23 | +++ mesa-demos-8.2.0/src/egl/opengles2/Makefile.am 2016-07-29 10:59:03.000000000 -0500 | ||
24 | @@ -33,6 +33,8 @@ | ||
25 | $(EGL_LIBS) \ | ||
26 | -lm | ||
27 | |||
28 | +if HAVE_EGL | ||
29 | +if HAVE_GLESV2 | ||
30 | bin_PROGRAMS = | ||
31 | |||
32 | if HAVE_WAYLAND | ||
33 | @@ -53,4 +55,5 @@ | ||
34 | es2gears_x11_LDADD = ../eglut/libeglut_x11.la | ||
35 | es2tri_LDADD = $(X11_LIBS) | ||
36 | endif | ||
37 | - | ||
38 | +endif | ||
39 | +endif | ||