--- /dev/null
+--- librsync-0.9.7/buf.c~ 2004-02-08 00:17:57.000000000 +0100
++++ librsync-0.9.7/buf.c 2015-07-25 11:19:24.237688098 +0200
+@@ -213,7 +213,7 @@
+
+ got = fread(*buf, 1, *len, f);
+ if (got == -1) {
+- rs_error(strerror(errno));
++ rs_error("%s", strerror(errno));
+ return RS_IO_ERROR;
+ } else if (got == 0) {
+ rs_error("unexpected eof on fd%d", fileno(f));
Summary(pl.UTF-8): Biblioteki rsync
Name: librsync
Version: 0.9.7
-Release: 5
+Release: 6
License: LGPL
Group: Libraries
Source0: http://dl.sourceforge.net/librsync/%{name}-%{version}.tar.gz
# Source0-md5: 24cdb6b78f45e0e83766903fd4f6bc84
Patch0: %{name}-link.patch
Patch1: %{name}-4Gigbug.patch
+Patch2: format-security.patch
URL: http://librsync.sourceforge.net/
BuildRequires: autoconf
BuildRequires: automake
%setup -q
%patch0 -p1
%patch1 -p1
+%patch2 -p1
%build
%{__libtoolize}