Re: [PATCH] Enable compilation on systems with older render libraries.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]