summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaurice van der Pot <griffon26@gentoo.org>2007-04-28 23:34:00 +0000
committerMaurice van der Pot <griffon26@gentoo.org>2007-04-28 23:34:00 +0000
commitcf981b1ff67cea4b2b644bb428525dc706d56648 (patch)
treeaa92e9203e9b720e3ac01621ba82e0ce93ca286e /net-im/pyicq-t/files/pyicq-t-0.8-twisted-2.5.patch
parentalso replace with newinit/newconfd (diff)
downloadgentoo-2-cf981b1ff67cea4b2b644bb428525dc706d56648.tar.gz
gentoo-2-cf981b1ff67cea4b2b644bb428525dc706d56648.tar.bz2
gentoo-2-cf981b1ff67cea4b2b644bb428525dc706d56648.zip
Added pyicq-t 0.8 closing bug #88283.
(Portage version: 2.1.2.4)
Diffstat (limited to 'net-im/pyicq-t/files/pyicq-t-0.8-twisted-2.5.patch')
-rw-r--r--net-im/pyicq-t/files/pyicq-t-0.8-twisted-2.5.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/net-im/pyicq-t/files/pyicq-t-0.8-twisted-2.5.patch b/net-im/pyicq-t/files/pyicq-t-0.8-twisted-2.5.patch
new file mode 100644
index 000000000000..f38b73d13fd8
--- /dev/null
+++ b/net-im/pyicq-t/files/pyicq-t-0.8-twisted-2.5.patch
@@ -0,0 +1,15 @@
+diff -ruN pyicq-t-0.8/src/main.py pyicq-t-0.8-fixed/src/main.py
+--- pyicq-t-0.8/src/main.py 2006-09-30 21:44:21.000000000 +0200
++++ pyicq-t-0.8-fixed/src/main.py 2007-04-28 14:37:15.000000000 +0200
+@@ -89,7 +89,10 @@
+ import signal
+ signal.signal(signal.SIGHUP, reloadConfig)
+ # Load scripts for PID and daemonizing
+- from twisted.scripts import twistd
++ try:
++ from twisted.scripts import _twistd_unix as twistd
++ except:
++ from twisted.scripts import twistd
+
+ selectWarning = "Unable to install any good reactors (kqueue, cf, epoll, poll).\nWe fell back to using select. You may have scalability problems.\nThis reactor will not support more than 1024 connections +at a time. You may silence this message by choosing 'select' or 'default' as your reactor in the transport config."
+ if config.reactor and len(config.reactor) > 0: