From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Jul 10 20:20:02 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5368D1065670 for ; Fri, 10 Jul 2009 20:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 2976C8FC0A for ; Fri, 10 Jul 2009 20:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n6AKK284005192 for ; Fri, 10 Jul 2009 20:20:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n6AKK1ka005191; Fri, 10 Jul 2009 20:20:02 GMT (envelope-from gnats) Resent-Date: Fri, 10 Jul 2009 20:20:02 GMT Resent-Message-Id: <200907102020.n6AKK1ka005191@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Martin Dieringer Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2FD921065678 for ; Fri, 10 Jul 2009 20:16:43 +0000 (UTC) (envelope-from martin.dieringer@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 866A88FC15 for ; Fri, 10 Jul 2009 20:16:42 +0000 (UTC) (envelope-from martin.dieringer@gmx.de) Received: (qmail invoked by alias); 10 Jul 2009 20:16:40 -0000 Received: from p54BE80B0.dip0.t-ipconnect.de (EHLO thinkpad.dieringer.dyndns.org) [84.190.128.176] by mail.gmx.net (mp047) with SMTP; 10 Jul 2009 22:16:40 +0200 Received: from thinkpad.nowhere.local (localhost [127.0.0.1]) by thinkpad.dieringer.dyndns.org (Postfix) with ESMTP id 4B6C110C1B for ; Fri, 10 Jul 2009 22:16:36 +0200 (CEST) Received: from localhost (martin@localhost) by thinkpad.nowhere.local (8.14.3/8.14.3/Submit) with ESMTP id n6AKGZEF016471 for ; Fri, 10 Jul 2009 22:16:35 +0200 (CEST) (envelope-from martin.dieringer@gmx.de) Message-Id: Date: Fri, 10 Jul 2009 22:16:34 +0200 (CEST) From: Martin Dieringer To: FreeBSD-gnats-submit@FreeBSD.org Cc: Subject: ports/136644: [PATCH] mail/py-spambayes: update for python 2.6 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Martin Dieringer List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Jul 2009 20:20:02 -0000 >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: