From 3b8e2b9a88eb4a1d383680e44231af641266698e Mon Sep 17 00:00:00 2001 From: Jeremy Messenger Date: Sat, 14 Oct 2006 17:41:29 +0000 Subject: Fix slow download and download corrupted in 0.116. Patch was took from CVS. Bump the PORTREVISION. Bugzilla: http://bugzilla.gnome.org/show_bug.cgi?id=361941 Approved by: portmgr (marcus) --- news/pan/Makefile | 1 + news/pan/files/patch-pan_tasks_socket-impl-gio.cc | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 news/pan/files/patch-pan_tasks_socket-impl-gio.cc (limited to 'news') diff --git a/news/pan/Makefile b/news/pan/Makefile index 962fee2862bd..6d793e41d88e 100644 --- a/news/pan/Makefile +++ b/news/pan/Makefile @@ -8,6 +8,7 @@ PORTNAME= pan PORTVERSION= 0.116 +PORTREVISION= 1 CATEGORIES= news gnome MASTER_SITES= http://pan.rebelbase.com/download/releases/${PORTVERSION}/source/ DIST_SUBDIR= gnome2 diff --git a/news/pan/files/patch-pan_tasks_socket-impl-gio.cc b/news/pan/files/patch-pan_tasks_socket-impl-gio.cc new file mode 100644 index 000000000000..4c7afcc21799 --- /dev/null +++ b/news/pan/files/patch-pan_tasks_socket-impl-gio.cc @@ -0,0 +1,16 @@ +=================================================================== +RCS file: /cvs/gnome/pan2/pan/tasks/socket-impl-gio.cc,v +retrieving revision 1.2 +retrieving revision 1.3 +diff -u -r1.2 -r1.3 +--- pan/tasks/socket-impl-gio.cc.orig 2006/10/06 15:25:53 1.2 ++++ pan/tasks/socket-impl-gio.cc 2006/10/13 15:29:34 1.3 +@@ -377,7 +377,7 @@ + { + // see if we've got a partial line buffered up + if (_channel->read_buf && _channel->read_buf->len) { +- _partial_line.assign (_channel->read_buf->str, _channel->read_buf->len); ++ _partial_line.append (_channel->read_buf->str, _channel->read_buf->len); + g_string_set_size (_channel->read_buf, 0); + } + // more to come -- cgit v1.2.3