Message ID | 52B44888.4070608@crapouillou.net |
---|---|
State | Accepted |
Headers | show |
>>>>> "Paul" == Paul Cercueil <paul@crapouillou.net> writes: Hi, > The following patch addresses the first issue. I reported it upstream. > [PATCH] cairo: Patch to fix OpenVG backend on X11-less platforms > Signed-off-by: Paul Cercueil <paul@crapouillou.net> Your mailer had screwed up whitespace in your patch pretty badly, but I've fixed it up and committed, thanks.
On 20/12/2013 15:52, Peter Korsgaard wrote: >>>>>> "Paul" == Paul Cercueil <paul@crapouillou.net> writes: > Hi, > > > The following patch addresses the first issue. I reported it upstream. > > > > [PATCH] cairo: Patch to fix OpenVG backend on X11-less platforms > > > Signed-off-by: Paul Cercueil <paul@crapouillou.net> > > Your mailer had screwed up whitespace in your patch pretty badly, but > I've fixed it up and committed, thanks. > > Ugh, sorry about that. Thank you!
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 0000000..6614934 --- /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 + };