source: trunk/dports/palm/pilot-link/files/libpng14.diff

Last change on this file was 75186, checked in by jmr@…, 10 years ago

pilot-link: update to 0.12.5, fix build with libpng 1.4 (#27999), remove old unused patch

File size: 1.5 KB
  • src/pilot-read-notepad.c

    old new  
    3939
    4040#ifdef HAVE_PNG
    4141#include "png.h"
    42 #if (PNG_LIBPNG_VER < 10201)
     42#if (PNG_LIBPNG_VER < 10201 || PNG_LIBPNG_VER >= 10400)
    4343 #define png_voidp_NULL (png_voidp)NULL
    4444 #define png_error_ptr_NULL (png_error_ptr)NULL
    4545#endif
  • src/pilot-read-palmpix.c

    old new  
    4242
    4343#ifdef HAVE_PNG
    4444#include "png.h"
    45 #if (PNG_LIBPNG_VER < 10201)
     45#if (PNG_LIBPNG_VER < 10201 || PNG_LIBPNG_VER >= 10400)
    4646 #define png_voidp_NULL (png_voidp)NULL
    4747 #define png_error_ptr_NULL (png_error_ptr)NULL
    4848#endif
  • src/pilot-read-screenshot.c

    old new  
    4040
    4141#ifdef HAVE_PNG
    4242# include "png.h"
    43 # if (PNG_LIBPNG_VER < 10201)
     43# if (PNG_LIBPNG_VER < 10201 || PNG_LIBPNG_VER >= 10400)
    4444#  define png_voidp_NULL (png_voidp)NULL
    4545#  define png_error_ptr_NULL (png_error_ptr)NULL
    4646# endif
  • src/pilot-read-veo.c

    old new  
    4141
    4242#ifdef HAVE_PNG
    4343# include "png.h"
    44 # if (PNG_LIBPNG_VER < 10201)
     44# if (PNG_LIBPNG_VER < 10201 || PNG_LIBPNG_VER >= 10400)
    4545#  define png_voidp_NULL (png_voidp)NULL
    4646#  define png_error_ptr_NULL (png_error_ptr)NULL
    4747# endif
Note: See TracBrowser for help on using the repository browser.