[Piglit] [PATCH] egl-util: Define EGL_KHR_gl_colorspace symbols for older distros.
emil.l.velikov at gmail.com
Fri Jul 10 02:36:09 PDT 2015
On 10 July 2015 at 09:22, Dylan Baker <baker.dylan.c at gmail.com> wrote:
> Maybe a better plan is to have the test detect that those aren't defined and
I fear the proposed fix is what piglit and many others tend to do.
Here are some of the files containing such workarounds:
A few other suggestions:
- Check that the headers are new enough and bail out early in cmake.
Unfortunately distros may insist on keeping old headers, despite that
updating (and using) them won't cause ABI breakage.
- Have a local copy of the headers in-tree.
Could get ugly, but many projects seems to be doing it.
I'm leaning towards the former, although feel free to use whichever you fancy.
More information about the Piglit