update Sun Jun 13 18:37:00 PDT 2010
[pkgsrc.git] / graphics / pdiff / patches / patch-ac
1 $NetBSD: patch-ac,v 1.1 2010/06/13 22:44:40 wiz Exp $
2
3 Not compatible with png-1.4.
4
5 --- RGBAImage.cpp.orig  2007-03-16 06:17:17.000000000 +0000
6 +++ RGBAImage.cpp
7 @@ -15,7 +15,9 @@ if not, write to the Free Software Found
8  */
9  
10  #include "RGBAImage.h"
11 +#if 0
12  #include "png.h"
13 +#endif
14  #include "tiff.h"
15  #include "tiffio.h"
16  
17 @@ -54,6 +56,7 @@ RGBAImage* RGBAImage::ReadTiff(char *fil
18         return fimg;
19  }
20  
21 +#if 0
22  // This portion was written by Scott Corley
23  RGBAImage* RGBAImage::ReadPNG(char *filename)
24  {
25 @@ -117,6 +120,7 @@ RGBAImage* RGBAImage::ReadPNG(char *file
26         png_destroy_read_struct(&png_ptr, &info_ptr, &end_info);
27         return fimg;
28  }
29 +#endif
30                    
31  bool RGBAImage::WritePPM()
32  {