From 8475a47fbb803914c50f4cbd26740f7aee5070a5 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Wed, 25 Apr 2012 15:57:20 +0000 Subject: [PATCH] - updated to 1.5.10 (fixes CVE-2011-3048) Changed files: crossmingw32-libpng.spec -> 1.53 libpng-apng-fix.patch -> 1.2 --- crossmingw32-libpng.spec | 6 +++--- libpng-apng-fix.patch | 14 +++++++------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/crossmingw32-libpng.spec b/crossmingw32-libpng.spec index 2626a3e..52024c4 100644 --- a/crossmingw32-libpng.spec +++ b/crossmingw32-libpng.spec @@ -2,15 +2,15 @@ Summary: PNG library - MinGW32 cross version Summary(pl.UTF-8): Biblioteka PNG - wersja skrośna dla MinGW32 Name: crossmingw32-%{realname} -Version: 1.5.9 +Version: 1.5.10 Release: 1 License: distributable Group: Development/Libraries Source0: http://downloads.sourceforge.net/libpng/%{realname}-%{version}.tar.xz -# Source0-md5: 05d9ab3705c34954c0032b71318b678a +# Source0-md5: 9c2ac3c3a31de2ab867875718f8de18e Patch0: %{realname}-pngminus.patch Patch1: http://downloads.sourceforge.net/libpng-apng/%{realname}-%{version}-apng.patch.gz -# Patch1-md5: 268f7db97b292d5f14a24ea7940f6f1c +# Patch1-md5: 88517ab0e9c0be2590800116e2b50c8d Patch2: %{realname}-apng-fix.patch URL: http://www.libpng.org/pub/png/libpng.html BuildRequires: crossmingw32-gcc diff --git a/libpng-apng-fix.patch b/libpng-apng-fix.patch index de5dcb3..add8cb7 100644 --- a/libpng-apng-fix.patch +++ b/libpng-apng-fix.patch @@ -1,9 +1,9 @@ ---- libpng-1.5.7/scripts/symbols.def.orig 2011-12-15 16:45:34.000000000 +0100 -+++ libpng-1.5.7/scripts/symbols.def 2011-12-18 19:44:57.326436207 +0100 -@@ -239,3 +239,24 @@ - png_get_cHRM_XYZ_fixed @231 +--- libpng-1.5.10/scripts/symbols.def.orig 2012-03-29 07:06:56.000000000 +0200 ++++ libpng-1.5.10/scripts/symbols.def 2012-04-25 17:53:13.007292298 +0200 +@@ -240,3 +240,24 @@ png_set_cHRM_XYZ @232 png_set_cHRM_XYZ_fixed @233 + png_set_check_for_invalid_index @234 +;missing warning + png_write_frame_head @1001 + png_write_frame_tail @1002 @@ -25,13 +25,13 @@ + png_get_first_frame_is_hidden @1018 + png_set_first_frame_is_hidden @1019 + png_read_frame_head @1020 ---- libpng-1.5.7/png.h.orig 2011-12-18 18:57:09.559673517 +0100 -+++ libpng-1.5.7/png.h 2011-12-18 19:44:48.716435917 +0100 +--- libpng-1.5.10/png.h.orig 2011-12-18 18:57:09.559673517 +0100 ++++ libpng-1.5.10/png.h 2011-12-18 19:44:48.716435917 +0100 @@ -2725,7 +2725,7 @@ * scripts/symbols.def as well. */ #ifdef PNG_EXPORT_LAST_ORDINAL -- PNG_EXPORT_LAST_ORDINAL(233); +- PNG_EXPORT_LAST_ORDINAL(234); + PNG_EXPORT_LAST_ORDINAL(1020); #endif -- 2.44.0