summaryrefslogtreecommitdiff
path: root/net/bittorrent/patches
diff options
context:
space:
mode:
authorgdt <gdt>2005-07-26 13:43:13 +0000
committergdt <gdt>2005-07-26 13:43:13 +0000
commitd65945e6e23d0768ba1d1fc54268a4ed6e6f9fd7 (patch)
treeedca1a214fd2e0f63f7a1ff054c3ec3d99704f49 /net/bittorrent/patches
parentc8c93e697ad5abc1e6159f4313da54ff4fe9d40c (diff)
downloadpkgsrc-d65945e6e23d0768ba1d1fc54268a4ed6e6f9fd7.tar.gz
Patch btdownloadheadless.py to flush stdout so that status appears
promptly when redirecting onto a file. This has been reported to the upstream maintainers. PKGREVISION++ in Makefile.common. This affects bittorrent-gui because it uses the same PATCHDIR, even though the new patch doesn't change that package. It seems awkward to try to manage PKGREVISION separately for packages built from the same tarball, and of little benefit.
Diffstat (limited to 'net/bittorrent/patches')
-rw-r--r--net/bittorrent/patches/patch-ab12
1 files changed, 12 insertions, 0 deletions
diff --git a/net/bittorrent/patches/patch-ab b/net/bittorrent/patches/patch-ab
new file mode 100644
index 00000000000..71e57ebebbe
--- /dev/null
+++ b/net/bittorrent/patches/patch-ab
@@ -0,0 +1,12 @@
+$NetBSD: patch-ab,v 1.4 2005/07/26 13:43:13 gdt Exp $
+
+--- btdownloadheadless.py.orig 2005-05-24 02:06:11.000000000 -0400
++++ btdownloadheadless.py
+@@ -151,6 +151,7 @@ class HeadlessDisplayer(object):
+ print 'share rating: ', self.shareRating
+ print 'seed status: ', self.seedStatus
+ print 'peer status: ', self.peerStatus
++ sys.stdout.flush()
+
+ def print_spew(self, spew):
+ s = StringIO()