Author: blues Date: Mon Jan 9 15:26:59 2012 GMT Module: packages Tag: HEAD ---- Log message: - rel.5 - support more than 4G
---- Files affected: packages/librsync: librsync.spec (1.25 -> 1.26) , librsync-4Gigbug.patch (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: packages/librsync/librsync.spec diff -u packages/librsync/librsync.spec:1.25 packages/librsync/librsync.spec:1.26 --- packages/librsync/librsync.spec:1.25 Wed Nov 26 10:41:57 2008 +++ packages/librsync/librsync.spec Mon Jan 9 16:26:54 2012 @@ -3,12 +3,13 @@ Summary(pl.UTF-8): Biblioteki rsync Name: librsync Version: 0.9.7 -Release: 4 +Release: 5 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 URL: http://librsync.sourceforge.net/ BuildRequires: autoconf BuildRequires: automake @@ -69,6 +70,7 @@ %prep %setup -q %patch0 -p1 +%patch1 -p1 %build %{__libtoolize} @@ -97,7 +99,8 @@ %defattr(644,root,root,755) %doc AUTHORS NEWS README THANKS TODO %attr(755,root,root) %{_bindir}/rdiff -%attr(755,root,root) %{_libdir}/lib*.so.*.* +%attr(755,root,root) %{_libdir}/librsync.so.*.* +%attr(755,root,root) %ghost %{_libdir}/librsync.so.1 %{_mandir}/man1/rdiff.1* %files devel @@ -117,6 +120,9 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.26 2012/01/09 15:26:54 blues +- rel.5 - support more than 4G + Revision 1.25 2008/11/26 09:41:57 arekm - release 4 ================================================================ Index: packages/librsync/librsync-4Gigbug.patch diff -u /dev/null packages/librsync/librsync-4Gigbug.patch:1.1 --- /dev/null Mon Jan 9 16:26:59 2012 +++ packages/librsync/librsync-4Gigbug.patch Mon Jan 9 16:26:54 2012 @@ -0,0 +1,31 @@ +diff -urN librsync-0.9.7/mdfour.h librsync-0.9.7dev/mdfour.h +--- librsync-0.9.7/mdfour.h 2004-02-07 18:17:57.000000000 -0500 ++++ librsync-0.9.7dev/mdfour.h 2006-03-06 03:21:46.000000000 -0500 +@@ -24,7 +24,7 @@ + #include "types.h" + + struct rs_mdfour { +- int A, B, C, D; ++ unsigned int A, B, C, D; + #if HAVE_UINT64 + uint64_t totalN; + #else +diff -urN librsync-0.9.7/patch.c librsync-0.9.7dev/patch.c +--- librsync-0.9.7/patch.c 2004-09-17 17:35:50.000000000 -0400 ++++ librsync-0.9.7dev/patch.c 2006-03-06 03:21:06.000000000 -0500 +@@ -214,12 +214,12 @@ + void *buf, *ptr; + rs_buffers_t *buffs = job->stream; + +- len = job->basis_len; +- + /* copy only as much as will fit in the output buffer, so that we + * don't have to block or store the input. */ +- if (len > buffs->avail_out) ++ if (job->basis_len > buffs->avail_out) + len = buffs->avail_out; ++ else ++ len = job->basis_len; + + if (!len) + return RS_BLOCKED; ================================================================ ---- CVS-web: http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/librsync/librsync.spec?r1=1.25&r2=1.26&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
