]> git.pld-linux.org Git - packages/ming.git/commitdiff
- rel 8; libpng fixes
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 28 Jan 2010 20:56:13 +0000 (20:56 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ming-libpng.patch -> 1.1
    ming.spec -> 1.50

ming-libpng.patch [new file with mode: 0644]
ming.spec

diff --git a/ming-libpng.patch b/ming-libpng.patch
new file mode 100644 (file)
index 0000000..5e14eb1
--- /dev/null
@@ -0,0 +1,20 @@
+--- ming-0.3.0/src/blocks/pngdbl.c~    2006-02-08 20:09:27.000000000 +0100
++++ ming-0.3.0/src/blocks/pngdbl.c     2010-01-28 21:54:59.729966918 +0100
+@@ -34,7 +34,7 @@
+       if(fread(header, 1, 8, fp) != 8)
+               return NULL;
+-      if(!png_check_sig(header, 8))
++      if(png_sig_cmp(header, 0, 8))
+               return NULL;
+       result = png_create_read_struct(PNG_LIBPNG_VER_STRING, NULL, NULL, NULL);
+       if(!result)
+@@ -54,7 +54,7 @@
+       
+       if(SWFInput_read(input, header, 8) != 8)
+               return NULL;
+-      if(!png_check_sig(header, 8))
++      if(png_sig_cmp(header, 0, 8))
+               return NULL;
+       result = png_create_read_struct(PNG_LIBPNG_VER_STRING, NULL, NULL, NULL);
+       if(!result)
index d9c2205ab6a2cd687d16b0b12b9e93c4ae591363..632791faa1f0682b23387e814a053ebec2896f02 100644 (file)
--- a/ming.spec
+++ b/ming.spec
@@ -3,7 +3,7 @@ Summary:        Ming - an SWF output library
 Summary(pl.UTF-8):     Ming - biblioteka do produkcji plików SWF
 Name:          ming
 Version:       0.3.0
-Release:       7
+Release:       8
 License:       LGPL
 Group:         Libraries
 Source0:       http://dl.sourceforge.net/ming/%{name}-%{version}.tar.gz
@@ -15,6 +15,7 @@ Source2:      http://dl.sourceforge.net/ming/%{name}-py-%{version}.tar.gz
 Patch0:                %{name}-DESTDIR.patch
 Patch1:                %{name}-build.patch
 Patch2:                %{name}-perl-shared.patch
+Patch3         %{name}-libpng.patch
 URL:           http://ming.sourceforge.net/
 BuildRequires: giflib-devel
 BuildRequires: python-devel >= 1:2.4
@@ -109,6 +110,7 @@ Moduł biblioteki Ming dla języka Python.
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 ln -s src/ming.h
 
This page took 0.028113 seconds and 4 git commands to generate.