From 5d506788e64b33a0a1c007bac4bbbb77b12c78e4 Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Wed, 17 Jan 2007 10:37:19 +0000 Subject: - Patch to fix with py-twisted 2.5.0 - Bump PORTREVISION Submitted by: maintainer in private email --- net-im/jabber-pyaim/files/patch-src_main.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 net-im/jabber-pyaim/files/patch-src_main.py (limited to 'net-im/jabber-pyaim/files') 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: -- cgit v1.2.3