--- /dev/null
+--- libgxps-0.2.2/tools/gxps-png-writer.c~ 2011-11-25 11:12:54.000000000 +0100
++++ libgxps-0.2.2/tools/gxps-png-writer.c 2013-11-03 17:48:22.199703926 +0100
+@@ -22,6 +22,7 @@
+ #include "gxps-png-writer.h"
+ #include <png.h>
+ #include <stdint.h>
++#include <string.h>
+
+ /* starting with libpng15, png.h no longer #includes zlib.h */
+ #ifndef Z_BEST_COMPRESSION
Summary(pl.UTF-8): Biblioteka do obsługi dokumentów XPS
Name: libgxps
Version: 0.2.2
-Release: 4
+Release: 5
License: LGPL v2.1+
Group: Libraries
Source0: http://ftp.gnome.org/pub/GNOME/sources/libgxps/0.2/%{name}-%{version}.tar.xz
# Source0-md5: 65bec2033ff71307f429dc3f91d60233
+Patch0: %{name}-build.patch
URL: http://live.gnome.org/libgxps
BuildRequires: autoconf >= 2.57
BuildRequires: automake >= 1:1.10
%prep
%setup -q
+%patch0 -p1
%build
%{__libtoolize}