diff options
author | Paul Cercueil <paul@crapouillou.net> | 2013-12-20 14:39:20 +0100 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2013-12-20 15:51:24 +0100 |
commit | 9fce881c3850a3ebd2782e4851728005b4259cef (patch) | |
tree | e09ba18a21b4140cc67887a836f2ba579442fbe1 /package/cairo | |
parent | cdc12b9b62c5ceb428199dfc9c1f455241fb2239 (diff) |
cairo: Patch to fix OpenVG backend on X11-less platforms
Submitted upstream: https://bugs.freedesktop.org/show_bug.cgi?id=72911
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/cairo')
-rw-r--r-- | package/cairo/cairo-002-openvg-build-fix.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/package/cairo/cairo-002-openvg-build-fix.patch b/package/cairo/cairo-002-openvg-build-fix.patch new file mode 100644 index 000000000..6614934d3 --- /dev/null +++ b/package/cairo/cairo-002-openvg-build-fix.patch @@ -0,0 +1,28 @@ +Fix build of OpenVG backend on platforms without X11 + +https://bugs.freedesktop.org/show_bug.cgi?id=72911 + +Signed-off-by: Paul Cercueil <paul@crapouillou.net> + +Index: b/boilerplate/cairo-boilerplate-vg.c +=================================================================== +--- a/boilerplate/cairo-boilerplate-vg.c ++++ b/boilerplate/cairo-boilerplate-vg.c +@@ -215,7 +215,7 @@ _cairo_boilerplate_vg_create_surface_egl (const char *name, + EGL_ALPHA_SIZE, 8, + EGL_SURFACE_TYPE, EGL_PBUFFER_BIT, + EGL_RENDERABLE_TYPE, EGL_OPENVG_BIT, +- None ++ EGL_NONE + }; + int rgb_attribs[] = { + EGL_RED_SIZE, 8, +@@ -225,7 +225,7 @@ _cairo_boilerplate_vg_create_surface_egl (const char *name, + EGL_VG_ALPHA_FORMAT, EGL_VG_ALPHA_FORMAT_PRE_BIT, + EGL_SURFACE_TYPE, EGL_PBUFFER_BIT, + EGL_RENDERABLE_TYPE, EGL_OPENVG_BIT, +- None ++ EGL_NONE + }; + int dummy_attribs[] = { + EGL_WIDTH, 8, EGL_HEIGHT, 8, |