Enable "bad libc workaround", otherwise I/O would be done one byte at a time.
From: Victor Sahlstedt <salan@legonet.org>
This commit is contained in:
parent
357f6e3acb
commit
30f17e1d39
@ -1,7 +1,8 @@
|
||||
# $OpenBSD: Makefile,v 1.6 2005/04/16 21:13:02 sturm Exp $
|
||||
# $OpenBSD: Makefile,v 1.7 2005/04/21 22:17:02 naddy Exp $
|
||||
|
||||
COMMENT= "cooperative file distribution system implemented in Python"
|
||||
DISTNAME= BitTorrent-4.0.1
|
||||
PKGNAME= BitTorrent-4.0.1p1
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= ${HOMEPAGE}dl/
|
||||
|
||||
|
12
net/BitTorrent/patches/patch-BitTorrent_defaultargs_py
Normal file
12
net/BitTorrent/patches/patch-BitTorrent_defaultargs_py
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-BitTorrent_defaultargs_py,v 1.1 2005/04/21 22:17:03 naddy Exp $
|
||||
--- BitTorrent/defaultargs.py.orig Wed Apr 20 22:50:18 2005
|
||||
+++ BitTorrent/defaultargs.py Wed Apr 20 22:50:26 2005
|
||||
@@ -77,7 +77,7 @@ rare_options = [
|
||||
'if nonzero, set the TOS option for peer connections to this value'),
|
||||
('filesystem_encoding', '',
|
||||
"character encoding used on the local filesystem. If left empty, autodetected. Autodetection doesn't work under python versions older than 2.3"),
|
||||
- ('enable_bad_libc_workaround', 0,
|
||||
+ ('enable_bad_libc_workaround', 1,
|
||||
'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'),
|
Loading…
Reference in New Issue
Block a user