Libpng was written as a companion to the PNG specification, as a
way to reduce the amount of time and effort it takes to support
the PNG file format in application programs. Most users will not
have to modify the library significantly; advanced users may want
to modify it more. The library was coded for both users. All
attempts were made to make it as complete as possible, while
keeping the code easy to understand. Currently, this library
only supports C. Support for other languages is being considered.
LICENSE: libpng license
http://libpng.sourceforge.net/
===> The following configuration options are available for png-1.6.59_1:
APNG=on: Enable Animated PNG support
SIMD=on: Use CPU-specific optimizations
===> Use 'make config' to modify these settings
Dist is rerolled with minor config changes and *.diff leftovers.
New dist does not match MD5/size stated on libpng homepage.
Until situation becomes clear, put the previous one at MASTER_SITE_LOCAL
In 16-bit samples case the starting offsets for the loops are calculated
incorrectly which may cause a buffer overrun beyond the beginning of
the row buffer.
Submitted by: Robert Nagy <robert@openbsd.org>
Back out part of the earlier commit -- I missed maintainer's e-mail,
where he explicitly objected to it. The port is now again NOT buildable
with Intel's icc-7.1.006.
Approved by: maintainer (ache)
Minor enhancements, not affecting the resulting package:
. run the vendor-supplied test automaticly upon building;
. link the vendor-supplied test dynamicly (using -rpath to
force the usage of the just-built library) -- to add another
implicit test of the shared library's validity;
. reword one of the shell commands as ``sed ... file'' instead
of ``cat file | sed ...'';
. modify one of the files to make it properly compilable by the
icc -- gcc was, apparently, optimizing the junk out anyway.
Approved by: maintainer (ache)
Update to 1.2.4. Among other things, this version fixes potentian security
problem when mailformed png image can crash application (think about Mozilla).
Therefore, update is recommended.
Link libpng library with libm, because it uses some math functions from it.
This should fix GNOME breakage introduced in the previous commit.
Prompted by: Anders Andersson <anders@hack.org>
Once we are determined that CPUID instruction is or isn't supported resfore
initial state of the bit 21 of the eflag register. This reduces possibility
that the threaded program linked with libpng will die due to arrival of the
signal during probing for the CPU type. More proper fix has been committed
into the -current kernel and will be MFC'ed soon, but this workaround is
necessary for those with older systems.
Revert previous change making compilation of mmx-optimised routines a default
option. It appears that resulting binary can't be used on a CPU without mmx
instruction set (for example Pentium Pro).
Fix MASSIVE typo INSTALL_SHLIBS --> INSTALLS_SHLIBS, which occured because I
just cun'n'pasted the name from Satoshi's commit message without checking it.