On Tue, Dec 27, 2011 at 07:40:20PM +0100, Didier Wiroth wrote:
> Hello,
> Thank you all for helping!
> No, unfortunately it didn't help, it still crashes.
> I applied the patch and recompile the hellanzb port, but it still crashes.

Oops. This should be better.

Eric.

Index: Makefile
===================================================================
RCS file: /cvs/ports/news/hellanzb/Makefile,v
retrieving revision 1.11
diff -u -p -r1.11 Makefile
--- Makefile    16 Sep 2011 11:13:41 -0000      1.11
+++ Makefile    27 Dec 2011 19:54:12 -0000
@@ -3,7 +3,7 @@
 COMMENT=               retrieve and process nzb-files
 
 DISTNAME=              hellanzb-0.13
-REVISION =             7
+REVISION =             8
 CATEGORIES=            news
 
 HOMEPAGE=              http://www.hellanzb.com/trac/
Index: patches/patch-Hellanzb_HellaReactor_py
===================================================================
RCS file: /cvs/ports/news/hellanzb/patches/patch-Hellanzb_HellaReactor_py,v
retrieving revision 1.1
diff -u -p -r1.1 patch-Hellanzb_HellaReactor_py
--- patches/patch-Hellanzb_HellaReactor_py      23 Aug 2010 07:02:06 -0000      
1.1
+++ patches/patch-Hellanzb_HellaReactor_py      27 Dec 2011 19:54:12 -0000
@@ -1,12 +1,16 @@
 $OpenBSD: patch-Hellanzb_HellaReactor_py,v 1.1 2010/08/23 07:02:06 giovanni 
Exp $
---- Hellanzb/HellaReactor.py.orig      Fri Aug 13 17:17:25 2010
-+++ Hellanzb/HellaReactor.py   Fri Aug 13 17:17:38 2010
-@@ -9,7 +9,7 @@ reactor system so it can catch signals, and shutdown h
+--- Hellanzb/HellaReactor.py.orig      Tue Mar 27 06:20:43 2007
++++ Hellanzb/HellaReactor.py   Tue Dec 27 20:53:16 2011
+@@ -9,7 +9,11 @@ reactor system so it can catch signals, and shutdown h
  import Hellanzb, sys, time
  
  import twisted.copyright
 -if twisted.copyright.version >= '2.0.0':
-+if twisted.copyright.version >= '2.0.0' or twisted.copyright.version >= 
'10.0.0':
++if twisted.copyright.version >= '11.1.0':
++    from twisted.internet.selectreactor import SelectReactor
++    from twisted.internet.posixbase import _NO_FILENO
++    from twisted.internet.posixbase import _NO_FILEDESC
++elif twisted.copyright.version >= '2.0.0' or twisted.copyright.version >= 
'10.0.0':
      from twisted.internet.selectreactor import SelectReactor
      from twisted.internet.selectreactor import _NO_FILENO
      from twisted.internet.selectreactor import _NO_FILEDESC

Reply via email to