[gccsdk] libpng12-0

Chris Gransden chrisg at care4free.net
Sun Nov 22 11:07:20 PST 2015


In article <5651E540.5040200 at macpcrepair.co.uk>,
   John Ballance <jwb at macpcrepair.co.uk> wrote:
> Hi

> Building today shows libpng has changed upstream. In consequence one of 
> the patches in

>   libpng-1.2.43-apng.p needs omitting as code it patches isn't there 
> like that any more:

> @@ -2159,8 +2252,8 @@
>   #ifndef PNG_WRITE_WEIGHTED_FILTER_SUPPORTED
>     if (png_ptr->row_number == 0 && filter_to_do == PNG_ALL_FILTERS)
>     {
> -      /* These will never be selected so we need not test them. */
> -      filter_to_do &= ~(PNG_FILTER_UP | PNG_FILTER_PAETH);
> +      /* These use previous row */
> +      filter_to_do &= ~(PNG_FILTER_UP | PNG_FILTER_AVG | PNG_FILTER_PAETH);
>     }
>   #endif

The autobuilder has been updated with the above patch omitted. libpng12-0
should build ok now.





More information about the gcc mailing list