From 1aa2f1f0d442876bd5441987f3684ff7e5ed49f1 Mon Sep 17 00:00:00 2001 From: Mario Sergio Fujikawa Ferreira Date: Wed, 1 Feb 2006 03:03:43 +0000 Subject: Update to 4.4.0 --- .../files/patch-BitTorrent::defaultargs.py | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'net-p2p/py-bittorrent/files/patch-BitTorrent::defaultargs.py') diff --git a/net-p2p/py-bittorrent/files/patch-BitTorrent::defaultargs.py b/net-p2p/py-bittorrent/files/patch-BitTorrent::defaultargs.py index f25af4145ccc..bd9e57ccacc6 100644 --- a/net-p2p/py-bittorrent/files/patch-BitTorrent::defaultargs.py +++ b/net-p2p/py-bittorrent/files/patch-BitTorrent::defaultargs.py @@ -1,11 +1,11 @@ ---- BitTorrent/defaultargs.py.orig Tue May 24 03:01:06 2005 -+++ BitTorrent/defaultargs.py Sun May 29 22:48:48 2005 -@@ -110,7 +110,7 @@ - _("do not connect to several peers that have the same IP address")), - ('peer_socket_tos', 8, - _("if nonzero, set the TOS option for peer connections to this value")), -- ('bad_libc_workaround', MYFALSE, -+ ('bad_libc_workaround', MYTRUE, - _("enable workaround for a bug in BSD libc that makes file reads very slow.")), - ('tracker_proxy', '', - _("address of HTTP proxy to use for tracker connections")), +--- BitTorrent/defaultargs.py.orig Wed Jan 11 19:16:54 2006 ++++ BitTorrent/defaultargs.py Wed Jan 11 19:17:16 2006 +@@ -33,6 +33,8 @@ + if os.name == 'posix': + if os.uname()[0] in ['Darwin']: + BAD_LIBC_WORKAROUND_DEFAULT = MYTRUE ++ if os.uname()[0] in ['FreeBSD']: ++ BAD_LIBC_WORKAROUND_DEFAULT = MYTRUE + + MIN_INCOMPLETE = 100 + if os.name == 'nt': -- cgit v1.2.3