From 698024bed14ae03864786db0a2747bf782440c49 Mon Sep 17 00:00:00 2001 From: gdt Date: Tue, 26 Jul 2005 13:43:13 +0000 Subject: 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. --- net/bittorrent/Makefile.common | 3 ++- net/bittorrent/distinfo | 3 ++- net/bittorrent/patches/patch-ab | 12 ++++++++++++ 3 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 net/bittorrent/patches/patch-ab diff --git a/net/bittorrent/Makefile.common b/net/bittorrent/Makefile.common index d6ef92fe660..7bd6704957c 100644 --- a/net/bittorrent/Makefile.common +++ b/net/bittorrent/Makefile.common @@ -1,9 +1,10 @@ -# $NetBSD: Makefile.common,v 1.12 2005/07/10 19:11:02 recht Exp $ +# $NetBSD: Makefile.common,v 1.13 2005/07/26 13:43:13 gdt Exp $ # DISTNAME= BitTorrent-4.0.2 CATEGORIES= net MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=bittorrent/} +PKGREVISION= 1 MAINTAINER= recht@NetBSD.org HOMEPAGE= http://www.bittorrent.com/ diff --git a/net/bittorrent/distinfo b/net/bittorrent/distinfo index fc12aeebdb8..54a2f295f4d 100644 --- a/net/bittorrent/distinfo +++ b/net/bittorrent/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.16 2005/07/10 19:11:02 recht Exp $ +$NetBSD: distinfo,v 1.17 2005/07/26 13:43:13 gdt Exp $ SHA1 (BitTorrent-4.0.2.tar.gz) = c45507be7f47fa90925ba57a1a5975c61380dc04 RMD160 (BitTorrent-4.0.2.tar.gz) = feae7a846eb5f6b3c89d65f5f52fb34adc8f3086 Size (BitTorrent-4.0.2.tar.gz) = 155062 bytes SHA1 (patch-aa) = fad5fb4d6b6c4aed9988cd4484aad042a3de5cef +SHA1 (patch-ab) = 615583322ff5c11a641305e2909eeac91b9db8b7 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() -- cgit v1.2.3