Hello! I was packaging Cinepaint 1.3 for SprezzOS 2 ("Kolmogorov"), and was unable to use the pristine tarball due to its dependence on libpng12. PNG15 has been out for several years, and is standard in most distributions. This patch supports the png15 API; CinePaint should still compile against png12 after this patch is applied, but I did not test this.
Please apply. Thanks!
Nick Black <firstname.lastname@example.org>
Leader, SprezzOS Project