From 4d9b7cd9d0e3d9e6cccbae1b6748a8742397ffb5 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 10:23:10 +0100 Subject: [PATCH] automatic version update by autodist [release 1.8.11-1mamba;Wed Jan 25 2017] --- pngcrush-1.8.11-buildfix-i586.patch | 11 +++++++++++ pngcrush.spec | 9 ++++++++- 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 pngcrush-1.8.11-buildfix-i586.patch diff --git a/pngcrush-1.8.11-buildfix-i586.patch b/pngcrush-1.8.11-buildfix-i586.patch new file mode 100644 index 0000000..c2b0c17 --- /dev/null +++ b/pngcrush-1.8.11-buildfix-i586.patch @@ -0,0 +1,11 @@ +--- pngcrush-1.8.11/zutil.h.orig 2017-09-04 09:05:51.391314480 +0200 ++++ pngcrush-1.8.11/zutil.h 2017-09-04 09:04:27.037805744 +0200 +@@ -30,7 +30,7 @@ + #endif + + #ifdef Z_SOLO +- typedef long ptrdiff_t; /* guess -- will be caught if guess is wrong */ ++/* typedef long ptrdiff_t; /* guess -- will be caught if guess is wrong */ + #endif + + #ifndef local diff --git a/pngcrush.spec b/pngcrush.spec index 7a45a81..7a589fe 100644 --- a/pngcrush.spec +++ b/pngcrush.spec @@ -1,5 +1,5 @@ Name: pngcrush -Version: 1.8.10 +Version: 1.8.11 Release: 1mamba Summary: An optimizer for PNG (Portable Network Graphics) files Group: Applications/Graphics @@ -8,6 +8,7 @@ Distribution: openmamba Packager: Silvan Calarco URL: http://pmt.sourceforge.net/pngcrush/ Source: http://downloads.sourceforge.net/project/pmt/pngcrush/%{version}/pngcrush-%{version}.tar.xz +Patch0: pngcrush-1.8.11-buildfix-i586.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel @@ -23,6 +24,9 @@ Its main purpose is to reduce the size of the PNG IDAT datastream by trying vari %prep %setup -q +%ifarch %{ix86} +%patch0 -p1 +%endif %build %make @@ -39,6 +43,9 @@ install -D -m0755 pngcrush %{buildroot}%{_bindir}/pngcrush %{_bindir}/pngcrush %changelog +* Wed Jan 25 2017 Automatic Build System 1.8.11-1mamba +- automatic version update by autodist + * Wed Nov 02 2016 Automatic Build System 1.8.10-1mamba - automatic version update by autodist