Date: Fri, 10 Jul 2009 22:16:34 +0200 (CEST) From: Martin Dieringer <martin.dieringer@gmx.de> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/136644: [PATCH] mail/py-spambayes: update for python 2.6 Message-ID: <alpine.BSF.2.00.0907102151560.37001@thinkpad.nowhere.local> Resent-Message-ID: <200907102020.n6AKK1ka005191@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 136644 >Category: ports >Synopsis: [PATCH] mail/py-spambayes: update for python 2.6 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Jul 10 20:20:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Martin Dieringer >Release: FreeBSD 7.2-RELEASE i386 >Organization: >Environment: System: FreeBSD 7.2-RELEASE #0: Fri May 1 08:49:13 UTC >Description: fix training problem with ac_out_buffer Added file(s): - files/patch-python26 Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- py26-spambayes-1.0.4_4.patch begins here --- diff -ruN --exclude=CVS /usr/ports/mail/py-spambayes/Makefile /usr/ports/mail/py-spambayes26/Makefile --- /usr/ports/mail/py-spambayes/Makefile 2009-07-10 21:47:24.303348190 +0200 +++ /usr/ports/mail/py-spambayes26/Makefile 2009-07-10 21:48:47.588359274 +0200 @@ -18,7 +18,7 @@ RUN_DEPENDS= ${PYTHON_SITELIBDIR}/_bsddb.so:${PORTSDIR}/databases/py25-bsddb -USE_PYTHON= 2.5 +USE_PYTHON= 2.6 USE_PYDISTUTILS= yes USE_RC_SUBR= pyspamd LOCALSTATDIR?= /var/db/spambayes diff -ruN --exclude=CVS /usr/ports/mail/py-spambayes/files/patch-python26 /usr/ports/mail/py-spambayes26/files/patch-python26 --- /usr/ports/mail/py-spambayes/files/patch-python26 1970-01-01 01:00:00.000000000 +0100 +++ /usr/ports/mail/py-spambayes26/files/patch-python26 2009-07-10 21:47:45.458351130 +0200 @@ -0,0 +1,11 @@ +--- spambayes/Dibbler.py~ 2009-07-10 21:43:59.000000000 +0200 ++++ spambayes/Dibbler.py 2009-07-10 21:44:37.655326444 +0200 +@@ -218,7 +218,7 @@ + # self.initiate_send() raises an exception, causing self.close() + # to be called. If we didn't check, we could end up in an infinite + # loop. +- while (self.producer_fifo or self.ac_out_buffer) and not self._closed: ++ while (self.producer_fifo) and not self._closed: + self.initiate_send() + + def close(self): --- py26-spambayes-1.0.4_4.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.0907102151560.37001>