[t4k_common] Fix libpng15 fix.
Jon Ciesla
limb at fedoraproject.org
Wed Jun 6 13:46:11 UTC 2012
commit 341d749d9fdd38d87b656bab11416d4ddc384fb7
Author: Jon Ciesla <limburgher at gmail.com>
Date: Wed Jun 6 08:46:01 2012 -0500
Fix libpng15 fix.
t4k_common-0.1.1-libpng15.patch | 2 +-
t4k_common.spec | 5 ++++-
2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/t4k_common-0.1.1-libpng15.patch b/t4k_common-0.1.1-libpng15.patch
index 930f94f..3fd9efc 100644
--- a/t4k_common-0.1.1-libpng15.patch
+++ b/t4k_common-0.1.1-libpng15.patch
@@ -17,7 +17,7 @@
+ //info_ptr->interlace_type = 1;
+ png_set_IHDR(png_ptr, info_ptr, surf->w, surf->h, 8, PNG_COLOR_TYPE_RGB_ALPHA, 1, PNG_COMPRESSION_TYPE_DEFAULT, PNG_FILTER_TYPE_DEFAULT);
+ //info_ptr->valid = 0; /* will be updated by various png_set_FOO() functions */
-+ png_set_valid(png_ptr, info_ptr, 0);
++
png_set_sRGB_gAMA_and_cHRM(png_ptr, info_ptr,
PNG_sRGB_INTENT_PERCEPTUAL);
diff --git a/t4k_common.spec b/t4k_common.spec
index 21bf563..76b256d 100644
--- a/t4k_common.spec
+++ b/t4k_common.spec
@@ -1,6 +1,6 @@
Name: t4k_common
Version: 0.1.1
-Release: 6%{?dist}
+Release: 7%{?dist}
URL: http://tux4kids.alioth.debian.org/
Summary: Library for Tux4Kids applications
License: GPLv3+
@@ -69,6 +69,9 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/pkgconfig/t4k_common.pc
%changelog
+* Wed Jun 06 2012 Jon Ciesla <limburgher at gmail.com> - 0.1.1-7
+- Fix libpng15 fix, BZ 825462.
+
* Mon Jan 23 2012 Jon Ciesla <limburgher at gmail.com> - 0.1.1-6
- libpng15 fix.
More information about the scm-commits
mailing list