epel9
Gerd Hoffmann 15 years ago
parent 8cdfb308bf
commit 1388d4cdb5

@ -1,6 +1,11 @@
diff -up pngcrush-1.6.10/pngcrush.c.fix pngcrush-1.6.10/pngcrush.c ---
--- pngcrush-1.6.10/pngcrush.c.fix 2008-08-25 21:00:08.000000000 +0200 pngcrush.c | 2 +-
+++ pngcrush-1.6.10/pngcrush.c 2008-10-30 22:51:27.000000000 +0100 1 file changed, 1 insertion(+), 1 deletion(-)
Index: pngcrush-1.6.10/pngcrush.c
===================================================================
--- pngcrush-1.6.10.orig/pngcrush.c
+++ pngcrush-1.6.10/pngcrush.c
@@ -2821,7 +2821,7 @@ int main(int argc, char *argv[]) @@ -2821,7 +2821,7 @@ int main(int argc, char *argv[])
#if !defined(PNG_cHRM_SUPPORTED) || !defined(PNG_hIST_SUPPORTED) || \ #if !defined(PNG_cHRM_SUPPORTED) || !defined(PNG_hIST_SUPPORTED) || \
!defined(PNG_iCCP_SUPPORTED) || !defined(PNG_sCAL_SUPPORTED) || \ !defined(PNG_iCCP_SUPPORTED) || !defined(PNG_sCAL_SUPPORTED) || \

@ -1,7 +1,7 @@
Summary: Optimizer for PNG (Portable Network Graphics) files Summary: Optimizer for PNG (Portable Network Graphics) files
Name: pngcrush Name: pngcrush
Version: 1.6.10 Version: 1.6.10
Release: 5%{?dist} Release: 6%{?dist}
License: zlib License: zlib
Group: Applications/File Group: Applications/File
URL: http://pmt.sourceforge.net/pngcrush/ URL: http://pmt.sourceforge.net/pngcrush/
@ -29,7 +29,7 @@ tRNS, iCCP, and textual chunks.
%build %build
rm -f z*.h crc32.h deflate.h inf*.h trees.h png*.h # force using system headers rm -f z*.h crc32.h deflate.h inf*.h trees.h png*.h # force using system headers
pngflags=$(pkg-config --cflags --libs libpng) pngflags=$(pkg-config --cflags --libs libpng)
gcc %{optflags} $pngflags -o pngcrush pngcrush.c gcc %{optflags} $pngflags -lz -o pngcrush pngcrush.c
%install %install
%{__rm} -rf %{buildroot} %{__rm} -rf %{buildroot}
@ -44,6 +44,9 @@ gcc %{optflags} $pngflags -o pngcrush pngcrush.c
%{_bindir}/pngcrush %{_bindir}/pngcrush
%changelog %changelog
* Tue Feb 16 2010 Gerd Hoffmann <kraxel@redhat.com> - 1.6.10-6
- Fix FTBFS (#565047).
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.10-5 * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.10-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild

Loading…
Cancel
Save