libepoxy: add patch to fix segfaults when using in X11 without GLX
authorAdrián Pérez de Castro <aperez@igalia.com>
Mon, 14 Aug 2017 21:31:17 +0000 (00:31 +0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 16 Aug 2017 21:10:47 +0000 (23:10 +0200)
commita111406f79adc2fc560a9b488ea8c5304de1318e
tree59b336582a6d671aa397c4a286ac99ed9b5e3a25
parent945cda6d17f3e23135eb1c3f9d3fddcd33af864a
libepoxy: add patch to fix segfaults when using in X11 without GLX

This adds a patch cherry-picked from libepoxy 1.4.2, which adds missing
NULL-pointer checks and avoids segmentation faults when using libepoxy
under X11, when the server does not have the GLX extension, or it is
disabled -- and applications can still use EGL.

Signed-off-by: Adrian Perez de Castro <aperez@igalia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/libepoxy/0003-epoxy_internal_has_gl_extension-epoxy_egl_version-ad.patch [new file with mode: 0644]