freebsd-ports/graphics/panomatic/files/patch-libpng-include-png.h
Steve Wills 2dc83000f6 - Fix build with clang
- Switch to SF mirror
- Add USE_DOS2UNIX

PR:		ports/171859
Approved by:	Iouri Ivliev <ii@any.com.ru> (maintainer)
2012-10-03 15:01:55 +00:00

11 lines
493 B
C

--- libpng/include/png.h.orig 2008-02-14 23:14:15.000000000 +0000
+++ libpng/include/png.h 2012-09-24 12:02:46.519169872 +0000
@@ -2302,7 +2302,7 @@
#if defined(PNG_iCCP_SUPPORTED)
extern PNG_EXPORT(void,png_set_iCCP) PNGARG((png_structp png_ptr,
- png_infop info_ptr, png_charp name, int compression_type,
+ png_infop info_ptr, png_const_charp name, int compression_type,
png_charp profile, png_uint_32 proflen));
/* Note to maintainer: profile should be png_bytep */
#endif