aboutsummaryrefslogtreecommitdiff
path: root/net-im/jabber-pyaim/files
diff options
context:
space:
mode:
Diffstat (limited to 'net-im/jabber-pyaim/files')
-rw-r--r--net-im/jabber-pyaim/files/patch-src_main.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/net-im/jabber-pyaim/files/patch-src_main.py b/net-im/jabber-pyaim/files/patch-src_main.py
new file mode 100644
index 000000000000..99d1e6be823d
--- /dev/null
+++ b/net-im/jabber-pyaim/files/patch-src_main.py
@@ -0,0 +1,14 @@
+--- src/main.py.orig Sun Oct 1 19:04:30 2006
++++ src/main.py Tue Jan 16 15:26:35 2007
+@@ -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: