[Spice-devel] [PATCH] Enable compilation on systems with older render libraries.
Jeremy White
jwhite at codeweavers.com
Thu Aug 9 06:10:20 PDT 2012
On 08/09/2012 04:25 AM, Christophe Fergeau wrote:
> On Wed, Aug 08, 2012 at 03:03:25PM -0500, Jeremy White wrote:
>> ---
>> src/uxa/uxa-render.c | 2 ++
>> 1 file changed, 2 insertions(+)
>>
>> diff --git a/src/uxa/uxa-render.c b/src/uxa/uxa-render.c
>> index ac80c45..b5554e7 100644
>> --- a/src/uxa/uxa-render.c
>> +++ b/src/uxa/uxa-render.c
>> @@ -137,6 +137,7 @@ op_to_string(CARD8 op)
>> /*
>> * Operators only available in version 0.11
>> */
>> +#if RENDER_MAJOR > 0 || RENDER_MINOR > 10
>> C(Multiply);
>> C(Screen);
>> C(Overlay);
>> @@ -152,6 +153,7 @@ op_to_string(CARD8 op)
>> C(HSLSaturation);
>> C(HSLColor);
>> C(HSLLuminosity);
>> +#endif
>
> Not sure what this implies ;) I'm assuming you tested it and it works.
> Checking for the render version in configure.ac and failing if it's too old
> wouldn't work for you I guess?
Thanks for pushing me; it looks like I was fed a bad render.h. (I'm building
in a highly customized environment that is *supposed* to be a modified rhel 6.0.
But clearly an exceptionally old render.h slipped in somehow; I need to go excise that...)
So, <small>nevermind</small>.
Cheers,
Jeremy
More information about the Spice-devel
mailing list