Changed files:
libpng-read-dither.patch -> 1.1
libpng.spec -> 1.179
--- /dev/null
+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
Summary(tr.UTF-8): PNG kitaplığı
Name: libpng
Version: 1.4.0
-Release: 1
+Release: 2
Epoch: 2
License: distributable
Group: Libraries
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
xzcat -dc %{SOURCE0} | tar xf - -C ..
%patch0 -p1
%patch1 -p0
+%patch2 -p1
%build
%configure