f0aca6ea72
. Added some never-to-be-executed code in pnggccrd.c to quiet compiler warnings. . Added a check for attempts to read or write PLTE in grayscale PNG datastreams. . Eliminated the png_error about apps using png_read|write_init(). Instead, libpng will reallocate the png_struct and info_struct if they are too small. This achieves future binary compatibility for old applications written for libpng-0.88 and earlier. Expanded the warnings about incompatible library and application. . Modified png_create_struct so it passes user mem_ptr to user memory allocator. . Check for missing profile length field in iCCP chunk and free the chunk_data in case of truncated iCCP chunk.
30 lines
884 B
Makefile
30 lines
884 B
Makefile
# $NetBSD: Makefile,v 1.38 2001/08/03 23:19:25 wiz Exp $
|
|
|
|
# On update, don't forget to increase shared library major/minor's in
|
|
# accordance with changes (patch-aa).
|
|
DISTNAME= libpng-1.0.12
|
|
PKGNAME= ${DISTNAME:S/lib//}
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= ftp://ftp.libpng.org/pub/png/src/ \
|
|
ftp://ftp.cdrom.com/pub/png/src/ \
|
|
ftp://swrinde.nde.swri.edu/pub/png/src/ \
|
|
ftp://ftp.fu-berlin.de/unix/graphics/png/src/
|
|
|
|
MAINTAINER= tron@netbsd.org
|
|
HOMEPAGE= http://www.libpng.org/pub/png/
|
|
COMMENT= Library for manipulating PNG images
|
|
|
|
USE_LIBTOOL= yes
|
|
|
|
MAKEFILE= scripts/makefile.std
|
|
MAKE_ENV+= REALCC="${CC}"
|
|
|
|
USE_BUILDLINK_ONLY= yes
|
|
|
|
post-install:
|
|
${INSTALL_MAN} ${WRKSRC}/libpng.3 ${PREFIX}/man/man3
|
|
${INSTALL_MAN} ${WRKSRC}/libpngpf.3 ${PREFIX}/man/man3
|
|
${INSTALL_MAN} ${WRKSRC}/png.5 ${PREFIX}/man/man5
|
|
|
|
.include "../../devel/zlib/buildlink.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|