1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-14 07:43:06 +00:00
freebsd-ports/graphics/netpbm/files/patch-converter::other::pnmtopng.c
Patrick Li 1710ed6ad1 Update to 10.3
PR:		40245
Submitted by:	KATO Tsuguru <tkato@prontomail.com>
2002-07-06 01:17:43 +00:00

17 lines
588 B
C

--- converter/other/pnmtopng.c.orig Sun Jun 23 12:51:37 2002
+++ converter/other/pnmtopng.c Sat Jul 6 00:00:00 2002
@@ -1903,8 +1903,13 @@
*/
fprintf(stderr, " Compiled with libpng %s.\n",
PNG_LIBPNG_VER_STRING);
+#ifdef zlib_version
fprintf(stderr, " Compiled with zlib %s; using zlib %s.\n",
ZLIB_VERSION, zlib_version);
+#else
+ fprintf(stderr, " Compiled with zlib %s.\n",
+ ZLIB_VERSION);
+#endif
fprintf(stderr,
" Compiled with %d-bit netpbm support "
"(PPM_OVERALLMAXVAL = %d).\n",