--- /dev/null
+--- pngnq-1.1/src/rwpng.c~
++++ pngnq-1.1/src/rwpng.c
+@@ -31,6 +31,7 @@
+
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <zlib.h>
+
+ #include "png.h" /* libpng header; includes zlib.h */
+ #include "rwpng.h" /* typedefs, common macros, public prototypes */
Summary: Pngnq is a tool for quantizing PNG images in RGBA format
Name: pngnq
-Version: 1.0
+Version: 1.1
Release: 1
License: BSD with advertising and MIT and BSD
Group: Applications/Multimedia
URL: http://pngnq.sourceforge.net/
Source0: http://downloads.sourceforge.net/pngnq/%{name}-%{version}.tar.gz
-# Source0-md5: 2d2cdacf0284477c662fee888c8092d5
+# Source0-md5: fdbb94d504931b50c54202b62f98aa44
+Patch0: %{name}-includes.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libpng-devel
%prep
%setup -q
+%patch0 -p1
%build
%{__aclocal}