libpng transition?

André Kaplan ak.ml at laposte.net
Sat Jan 22 06:09:39 PST 2011


> Le 22 janv. 11 à 10:32, Takeshi Enomoto a écrit :
>
> The source code of ncarg uses a symbol int_p_NULL, which has been  
> removed in libpng 1.4.
> In this case I was able to handle the problem by replacing that with  
> (int*)NULL.
>
> There might be other ports that use such deprecated symbols.
>

Yes, gnofract4d 3.12 does. See #28089.
The libpng ChangeLog (http://www.libpng.org/pub/png/src/libpng-1.2.x-to-1.4.x-summary.txt 
) documents this:
2. b. We removed the typecasted NULL definitions such as

         #define png_voidp_NULL    (png_voidp)NULL

      If you used these in your application, just use NULL instead.

Regards,
André




More information about the macports-dev mailing list