OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 06-Nov-2007 21:16:59
Branch: HEAD Handle: 2007110620165900
Modified files:
openpkg-src/cvs cvs.patch cvs.spec
Log:
apply a Debian bugfix for the CVS 1.11.x client hang problem
Summary:
Revision Changes Path
1.9 +19 -0 openpkg-src/cvs/cvs.patch
1.116 +1 -1 openpkg-src/cvs/cvs.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/cvs/cvs.patch
============================================================================
$ cvs diff -u -r1.8 -r1.9 cvs.patch
--- openpkg-src/cvs/cvs.patch 5 Oct 2005 18:08:30 -0000 1.8
+++ openpkg-src/cvs/cvs.patch 6 Nov 2007 20:16:59 -0000 1.9
@@ -23,3 +23,22 @@
#ifdef SYSTEM_INITIALIZE
/* Hook for OS-specific behavior, for example socket subsystems on
+
+-----------------------------------------------------------------------------
+
+Fix "read hang" problem for CVS 1.11.x clients:
+http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/~checkout~/SOURCES/cvs-debian-zlib-read-compressed.patch?rev=1.1;content-type=text%2Fplain
+http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=368494
+
+Index: src/zlib.c
+--- src/zlib.c.orig 3 Jun 2005 18:26:09 -0000 1.31
++++ src/zlib.c 27 Oct 2005 17:59:49 -0000
+@@ -229,7 +229,7 @@ compress_buffer_input (void *closure, ch
+ would fetch all the available bytes, and at least one byte. */
+
+ status = (*cb->buf->input) (cb->buf->closure, bd->text,
+- need, BUFFER_DATA_SIZE, &nread);
++ need ? 1 : 0, BUFFER_DATA_SIZE, &nread);
+
+ if (status == -2)
+ /* Don't try to recover from memory allcoation errors. */
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/cvs/cvs.spec
============================================================================
$ cvs diff -u -r1.115 -r1.116 cvs.spec
--- openpkg-src/cvs/cvs.spec 27 Oct 2007 11:59:19 -0000 1.115
+++ openpkg-src/cvs/cvs.spec 6 Nov 2007 20:16:59 -0000 1.116
@@ -37,7 +37,7 @@
Group: SCM
License: GPL
Version: %{V_cvs}
-Release: 20071027
+Release: 20071106
# package options
%option with_fsl yes
@@ .
______________________________________________________________________
OpenPKG http://openpkg.org
CVS Repository Commit List [email protected]