diff options
Diffstat (limited to 'net-p2p/py-bittorrent-devel/files/patch-BitTorrent::defaultargs.py')
-rw-r--r-- | net-p2p/py-bittorrent-devel/files/patch-BitTorrent::defaultargs.py | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/net-p2p/py-bittorrent-devel/files/patch-BitTorrent::defaultargs.py b/net-p2p/py-bittorrent-devel/files/patch-BitTorrent::defaultargs.py index f25af4145ccc..dac462a467f5 100644 --- a/net-p2p/py-bittorrent-devel/files/patch-BitTorrent::defaultargs.py +++ b/net-p2p/py-bittorrent-devel/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 Thu Dec 8 14:52:02 2005 ++++ BitTorrent/defaultargs.py Thu Dec 8 14:52:22 2005 +@@ -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 + + from BitTorrent import languages + |