]> git.pld-linux.org Git - packages/libpng.git/commitdiff
- rel 2; enable read dither auto/th/libpng-1_4_0-2
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Fri, 29 Jan 2010 22:43:07 +0000 (22:43 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    libpng-read-dither.patch -> 1.1
    libpng.spec -> 1.179

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

diff --git a/libpng-read-dither.patch b/libpng-read-dither.patch
new file mode 100644 (file)
index 0000000..955b12a
--- /dev/null
@@ -0,0 +1,15 @@
+diff -Naur libpng-1.4.0-orig/pngconf.h libpng-1.4.0/pngconf.h
+--- libpng-1.4.0-orig/pngconf.h        2010-01-27 20:38:27.000000000 -0500
++++ libpng-1.4.0/pngconf.h     2010-01-27 20:44:44.000000000 -0500
+@@ -497,11 +497,9 @@
+ #  ifndef PNG_NO_READ_INVERT
+ #    define PNG_READ_INVERT_SUPPORTED
+ #  endif
+-#if 0 /* removed from libpng-1.4.0 */
+ #  ifndef PNG_NO_READ_DITHER
+ #    define PNG_READ_DITHER_SUPPORTED
+ #  endif
+-#endif /* 0 */
+ #  ifndef PNG_NO_READ_BACKGROUND
+ #    define PNG_READ_BACKGROUND_SUPPORTED
+ #  endif
index 67d14730e5fba3232dd34ac67c6e9c0a6c742abd..701fca798784eb34c3bc6cfb0ff6becd76a66e9c 100644 (file)
@@ -7,7 +7,7 @@ Summary(pt_BR.UTF-8):   Biblioteca PNG
 Summary(tr.UTF-8):     PNG kitaplığı
 Name:          libpng
 Version:       1.4.0
-Release:       1
+Release:       2
 Epoch:         2
 License:       distributable
 Group:         Libraries
@@ -16,6 +16,7 @@ Source0:      http://downloads.sourceforge.net/libpng/%{name}-%{version}.tar.xz
 Patch0:                %{name}-pngminus.patch
 # http://littlesvr.ca/apng/diff/%{name}-%{version}-apng.patch | dos2unix
 Patch1:                %{name}-apng.patch
+Patch2:                %{name}-read-dither.patch
 URL:           http://www.libpng.org/pub/png/libpng.html
 BuildRequires: rpmbuild(macros) >= 1.213
 BuildRequires: xz >= 1:4.999.7
@@ -140,6 +141,7 @@ Narzędzia do konwersji plików PNG z lub do plików PNM.
 xzcat -dc %{SOURCE0} | tar xf - -C ..
 %patch0 -p1
 %patch1 -p0
+%patch2 -p1
 
 %build
 %configure
This page took 0.369198 seconds and 4 git commands to generate.